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), this will make things difficult for testing :/ But even without looking at the timezone issue in the result, we see the result is 2 days later :/
In our code we don't specify a ref, that means chrono takes whatever the current local time is, including the timezone, which is IMO what we want.
I found Chrono has issues with timezones.
Here is an example:
This is incorrect as "tomorrow" should always be on the 6th. (although that's actually debatable for our case).
There's more:
Note that the result is always 12pm according to the current timezone (which is +02:00 here), this will make things difficult for testing :/ But even without looking at the timezone issue in the result, we see the result is 2 days later :/
In our code we don't specify a ref, that means chrono takes whatever the current local time is, including the timezone, which is IMO what we want.
I don't know how to fix this TBH. @gmarty, @samgiles any idea ?
The text was updated successfully, but these errors were encountered: