react-native-modal-datetime-picker icon indicating copy to clipboard operation
react-native-modal-datetime-picker copied to clipboard

Time Zone Issue

Open Danyal255 opened this issue 1 year ago • 2 comments
trafficstars

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?

Danyal255 avatar May 13 '24 10:05 Danyal255

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.

jpeiler avatar Jul 02 '24 15:07 jpeiler

+1

tomelsnerwm avatar Aug 02 '24 14:08 tomelsnerwm