Incorporated all three date formats into one regex instead of having 3 different patterns for different types of dates and then separated according to their fields.
Can also modify the time format by adding an another function likewise
Let me know if more clarification is required.
Also, to make new updates you don't need to open a new PR. You can just push more commits to the existing branch. That will add to the existing PR :)
Closes #10