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
It'd be great to set the timezone instead of it defaulting to UTC. In my case, I need to store the selected date/time in a variety of possible time zones, and the user is simply selecting the date/time according to their local time. To adjust the selected date/time value is rather arduous: I have to recognize their tz, modify the UTC output by the correct number of hours (while keeping it in UTC), and then convert it to their local time zone. For instance, a user in america/los_angeles may select a date of 2023-12-25. But when I convert the output directly to the pacific time zone it becomes 2023-12-24.
The text was updated successfully, but these errors were encountered:
It'd be great to set the timezone instead of it defaulting to UTC. In my case, I need to store the selected date/time in a variety of possible time zones, and the user is simply selecting the date/time according to their local time. To adjust the selected date/time value is rather arduous: I have to recognize their tz, modify the UTC output by the correct number of hours (while keeping it in UTC), and then convert it to their local time zone. For instance, a user in america/los_angeles may select a date of 2023-12-25. But when I convert the output directly to the pacific time zone it becomes 2023-12-24.
The text was updated successfully, but these errors were encountered: