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
Unfortunately, you can't set timezone in JS. The only solution is to shift date to the difference between current TZ and desired TZ, convert it to ISO8601 string with desired TZ in proper position and then use Date.parse to create new instance of Date.
datef doesn't have capability to change dates, it only renders them.
How can the timezone be set to UTC when generating the date/time?
I see the option in the README but am struggling to understand how it can be set.
Can we include an example of setting the timezone in the doc?
The text was updated successfully, but these errors were encountered: