dayjs icon indicating copy to clipboard operation
dayjs copied to clipboard

Timezone abbreviations for dates before 1970 are not displayed as expected

Open chumba-wamba opened this issue 5 months ago • 0 comments

I am using dayjs.format('D MMM YYY h:mm A z') to format the following ISO datetime string - "1965-03-14T20:30:00.000Z". I expect it to return "14 Mar 1965 1:30 PM PDT" but instead I get "14 Mar 1965 1:30 PM GMT-8:00".

How do I achieve my desired result?

chumba-wamba avatar Sep 01 '25 22:09 chumba-wamba