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
The {timezone} format only returns location names like America/Chicago. Can we get a {timezone-short} that returns the timezone acronym, ie CST? Or is it already available?
The text was updated successfully, but these errors were encountered:
hey Tim, sorry for the delay.
Yeah, this is a good idea. I've got acronym display working over here, but it would require a bit of business to do what you've described - the acronym sometims changes during dst.
These acronyms are really fraught, but also very widely used. Going from acronym->iana is a mess, but going from iana-> acronym should be possible.
yeah, i like this - i may try doing it as a plugin. if you wanted to work on it together, let me know.
cheers
Here's the vanilla JS workaround that I'm using right now. Actually works really well and seems very accurate: new Date().toLocaleTimeString('en-us',{timeZoneName:'short'}).split(' ')[2]
The
{timezone}
format only returns location names likeAmerica/Chicago
. Can we get a{timezone-short}
that returns the timezone acronym, ieCST
? Or is it already available?The text was updated successfully, but these errors were encountered: