chrono
chrono copied to clipboard
Error in parsing date with both the day name and day number
I've ancountered a weird behvaiour when I type "sunday 8 17:00" (today is Monday, 2022-05-02).
The parsing result is Thurday, 2022-05-12, while it should be Sunday 2022-05-08.
The error does not occur if I type "sunday 17:00", or even "sunday 15 17:00". It seems that is occurs only if the day and day number are the next day of the week.