react-native-modal-datetime-picker
react-native-modal-datetime-picker copied to clipboard
Time Zone Issue
I have one feature in my app where I let user to select date no matter in witch county they are or what is there device time zone the date picker will open according to America/New_York time zone. I fell like this is not possible with timeZoneOffsetInMinutes How can I achieve that any body have some Idea?
Commenting for visibility, I'm possibly facing issue attempting to implement the component on my app. When opening the date picker, it shows the date as one day off from the actual date passed in. The only solution that has worked for me is getting the timezone offset from the date value used for the date prop and passing that into timezoneOffsetInMinutes, but that prop is deprecated and throws warnings.
+1