werner-scholtz / kalender

An elegantly crafted Flutter calendar UI package.
MIT License
107 stars 29 forks source link

Timezone bug #69

Open aditzer opened 6 months ago

aditzer commented 6 months ago

In few timezones (Romanian for example) this is happening:

  1. I created an event on 29th by tapping, event date is created as 28th.
  2. When I created an event by code for 29th, the event gets mapped to 30th.

If you know this bug, how can it be solved?

Screenshot 2024-04-30 at 1 30 10 AM
werner-scholtz commented 6 months ago

Maybe take a look at issue #62 seems similar, if it does not solve your problem let me know.

aditzer commented 6 months ago

Hey, I am already passing everything in Local format, so that does not work either

werner-scholtz commented 6 months ago

I'm struggling to replicate that with the web demo (Changed my timezone to EEST), can you also check if you can replicate the bug with the web demo https://werner-scholtz.github.io/kalender/ ? Also are you using the latest version of the package ?