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
timezonedDayjs().format() will return the correct date, time and timezone (good) but in a string (bad) timezonedDayjs().toDate() will return the correct date and time but incorrect timezone (bad) but in an object (good)
Is there any way to have timezonedDayjs return the correct timezone (CST) in the correct format (object)?
Expected behavior
A clear and concise description of what you expected to happen.
Information
Day.js Version v 1.11.10
OS: Mac OS 14.5
Browser Chrome 126.X
Time zone: GMT-0500 Central Standard Time
The text was updated successfully, but these errors were encountered:
Describe the bug
My system time is PST and trying to convert to CST. Here's what we have:
timezonedDayjs().format()
will return the correct date, time and timezone (good) but in a string (bad)timezonedDayjs().toDate()
will return the correct date and time but incorrect timezone (bad) but in an object (good)Is there any way to have
timezonedDayjs
return the correct timezone (CST) in the correct format (object)?Expected behavior
A clear and concise description of what you expected to happen.
Information
The text was updated successfully, but these errors were encountered: