chrono icon indicating copy to clipboard operation
chrono copied to clipboard

Error in parsing date with both the day name and day number

Open ilDon opened this issue 3 years ago • 0 comments

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.

ilDon avatar May 02 '22 11:05 ilDon