dayjs
dayjs copied to clipboard
Timezone abbreviations for dates before 1970 are not displayed as expected
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?