wanasit / chrono

A natural language date parser in Javascript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Last day of month/End of month not parsed

BWPearson opened this issue · comments

When trying to parse "Last day of July" or "end of July"
Last day of July is interpreted as "last day" and returns yesterday, and end of July is sometimes null or "July" which returns the first of July.

Same applies for "end of the month" which is returning null.

This doesn't help when "start of month" or "first day of the month" is parsed correctly.
Can we align the usage of these terms?