marnusw / date-fns-tz

Complementary library for date-fns v2 adding IANA time zone support
MIT License
1.08k stars 116 forks source link

Incorrect time returned for some timezones! (1 hour ahead of actual time) #216

Open AdityaKumawat97 opened 1 year ago

AdityaKumawat97 commented 1 year ago

I noticed that for this ( America/Sao_Paulo ) timezone the library returns an incorrect time value. Example: If we expect the time returned from the library to be 6:00 AM it returns 7:00 AM, can you please look into this? as to why this is happening? Thank you!

AndreAffonso commented 1 year ago

The same is happening to me

AdityaKumawat97 commented 1 year ago

I manually had to add in exceptions to subtract 1 hour from those particular timezones I identified around 5 timezones

On Thu, Apr 6, 2023, 3:37 AM André @.***> wrote:

The same is happening to me

— Reply to this email directly, view it on GitHub https://github.com/marnusw/date-fns-tz/issues/216#issuecomment-1498217868, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHM33XE6UBBGBWKYSLYXJV3W7XUJHANCNFSM6AAAAAAS34E34A . You are receiving this because you authored the thread.Message ID: @.***>

Harasz commented 1 year ago

Some problem for America/Los_Angeles