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
Bug description: clear and concise description
Today we had daylight savings which is resulting in 1:00 being shown instead of 2:00 in the time labels causing duplicate 1:00 keys.
Visual demo: Screenshots, videos or gifs to help explain your problem Code to reproduce
importWeekViewfrom'react-native-week-view';constmyEvents=[{id: 1,startDate: newDate(2023,1,20,9),endDate: newDate(2023,1,20,11),color: 'blue',description: 'E1',// ... more properties if needed,},{id: 2,startDate: newDate(2023,1,22,10),endDate: newDate(2023,1,22,11,30),color: 'red',description: 'E2',},// more events...];constMyComponent=()=>(<WeekViewevents={myEvents}selectedDate={newDate(2023,1,20,12)}numberOfDays={7}pageStartAt={{weekday: 1}}/>);
Environment:
The latest code Important: using your own fork makes this more difficult to reproduce and solve. We recommend trying with the latest week-view version.
react-native-week-view: version X
react-native-gesture-handler: version X
react-native-reanimated: version X
react-native: version X
react: version X
OS: android / iOS
Additional context (optional):
Error message or traceback (if any)
Steps to reproduce
...
Using the calendar on a day that has daylight savings will result in a duplicate key error because of two 1:00 keys for hour labels.
The text was updated successfully, but these errors were encountered:
darren4flow
changed the title
BUG: duplicate 1:00 time label because of time savings
BUG: duplicate 1:00 time label because of daylight savings
Mar 11, 2024
Bug description:
clear and concise description
Today we had daylight savings which is resulting in 1:00 being shown instead of 2:00 in the time labels causing duplicate 1:00 keys.
Visual demo:
Screenshots, videos or gifs to help explain your problem
Code to reproduce
Environment:
The latest code
Important: using your own fork makes this more difficult to reproduce and solve. We recommend trying with the latest week-view version.
react-native-week-view
: version Xreact-native-gesture-handler
: version Xreact-native-reanimated
: version Xreact-native
: version Xreact
: version XAdditional context (optional):
Using the calendar on a day that has daylight savings will result in a duplicate key error because of two 1:00 keys for hour labels.
The text was updated successfully, but these errors were encountered: