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
Describe the bug
I use a function to determine the initialTime for the DayView, but in some cases the DayView just ignores the initialTime.
For example: the function returns HourMinute {"hour":6,"minute":45}, but the DayView initializes with 7:45.
The same function worked flawlessly with the previous initalHour build.
Testen on Android & iOS, using devices and simulators.
I'm using it inside a PageView, but I believe I've found the bug. It's due to daylight saving time (tonight). But I can't seem to figure out how to prevent it, I'm using UTC for all my calculations and they are right. I believe that the dayView somehow accounts for daylight saving time, resulting in {"hour":6,"minute":45}, being shown as 7:45.
Activity
Skyost commentedon Mar 27, 2021
Would it be possible to get a code snippet ?
GaoMax commentedon Mar 27, 2021
Sure! Thanks for the help, really like your project.
Skyost commentedon Mar 27, 2021
Thanks ! Would it be possible to also know how you're setting the
initialTimevalue (Provider,setState, ...) ?GaoMax commentedon Mar 27, 2021
I'm using it inside a PageView, but I believe I've found the bug. It's due to daylight saving time (tonight). But I can't seem to figure out how to prevent it, I'm using UTC for all my calculations and they are right. I believe that the dayView somehow accounts for daylight saving time, resulting in {"hour":6,"minute":45}, being shown as 7:45.
Skyost commentedon Mar 29, 2021
You're right. I have to figure out what I can do to fix this bug.