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
I have an iOS device with CDT(GMT-5) timezone. An I created a date with time in 13:00 and with EDT(GMT-4) timezone. Expected hour in calendar: 12AM. Obtained:
change it according to your need
`const Match_time = (new Date(Item.Date_Time).getTime() - 1200000);
const Match_Time_Before_20_Min = new Date(Match_time);
const TimeAfter_1_Hr = (new Date(Item.Date_Time).getTime() + 2400000);
const TimeDate_After_40_Min = new Date(TimeAfter_1_Hr);
await RNCalendarEvents.saveEvent(`Your ${Item.Game_Name} Match is about to start in 15 Minutes`, {
startDate: Match_Time_Before_20_Min.toISOString(),
endDate: TimeDate_After_40_Min.toISOString(),
})`
I have an iOS device with CDT(GMT-5) timezone. An I created a date with time in 13:00 and with EDT(GMT-4) timezone. Expected hour in calendar: 12AM. Obtained:
Environment
React Native 0.64.2
react-native-calendar-events: 2.2.0
Steps to Reproduce
Expected Behavior
Like android behavior, set the ISO string with correct time.
Actual Behavior
Wrong date, this sceneries not happen in Android
The text was updated successfully, but these errors were encountered: