You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that the result is always 12pm according to the current timezone (which is +02:00 here). But even without looking at the timezone issue in the result, we see the result is 2 days later :/
The text was updated successfully, but these errors were encountered:
About the first three examples, guessing what "tomorrow" means in late night is difficult even for human. The current logic is, if it passes 1 AM, chrono will guess "tomorrow" means the tomorrow of the following morning, not the morning itself.
Probably 1 AM is too early and I should change this.
On the last example, that's not how you should use reference date. Chrono treats "2016-08-05T23:00-07:00" as a timestamp on your local. According to the timestamp, it's "Sat Aug 06 2016 15:00:00 GMT+0900 (JST)" on my computer. If I type "Tomorrow" on the time, it's August 7.
I'm not going to change this soon. As I'm not sure what kind of situation requires handling timezone on reference date, rather than the input text.
Hey !
I think Chrono has issues with timezones.
Here is an example:
This is incorrect as "tomorrow" should always be on the 6th.
There's more:
Note that the result is always 12pm according to the current timezone (which is +02:00 here). But even without looking at the timezone issue in the result, we see the result is 2 days later :/
The text was updated successfully, but these errors were encountered: