date-and-time
date-and-time copied to clipboard
How to format a named offset? (ex: EST)
Many libraries include a formatting token for named offsets. Ex: in dayjs, z for EST, zzz for Eastern Standard Time, etc. It looks like Intl.DateTimeFormat includes timeZoneName which could be used for this.
Is there complexity to this feature? Could this be offered with a plugin, if not part of the core? Thank you.
Thank you for your input. I will consider it.
Added zz (time zone name) and z (time zone name abbreviation) tokens to the timezone plugin. Try it when you have time.