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
import dayjs from 'dayjs';
import dayjsUtc from 'dayjs/plugin/utc';
import dayjsTimezone from 'dayjs/plugin/timezone';
import dayjsAdvancedFormat from 'dayjs/plugin/advancedFormat';
dayjs.extend(dayjsUtc);
dayjs.extend(dayjsTimezone);
dayjs.extend(dayjsAdvancedFormat);
dayjs(unixTimestamp).tz('America/Los_Angeles').format(`z`) // results in z being outputted instead of the short timezone name.
The other advanced format options do work (at least the ones not requiring a plugin)
Expected behavior
Should be able to display timezone short name / long name
Information
Day.js Version "dayjs": "^1.9.3", plugin-utc": "^0.1.2",
OS: Linux
Browser Firefox 82
Time zone: [e.g. GMT-07:00 PDT (Pacific Daylight Time)]
The text was updated successfully, but these errors were encountered:
Describe the bug
The other advanced format options do work (at least the ones not requiring a plugin)
Expected behavior
Should be able to display timezone short name / long name
Information
The text was updated successfully, but these errors were encountered: