dayjs.tz(timezone).format('z') is not Abbreviations
Describe the bug I try dayjs.tz('Asia/Seoul').format('z') but return is GMT+9
expect: KST
Information
- Day.js Version [e.g. v1.0.0]
- OS: [e.g. iOS]
- Browser [e.g. chrome 62]
- Time zone: [e.g. GMT-07:00 DST (Pacific Daylight Time)]
Unfortunately, right now localized timezone names are not supported.
But if you wish to display dt as 2022-07-21 00:00:00 KST you could use this code dayjs().tz("Asia/Seoul").format("YYYY-DD-MM HH:mm:ss [KST]");
small demo
Unfortunately, right now localized timezone names are not supported. But if you wish to display dt as
2022-07-21 00:00:00 KSTyou could use this codedayjs().tz("Asia/Seoul").format("YYYY-DD-MM HH:mm:ss [KST]");small demo
thank you for answer... hard coding is the only answer...
there is no plan to update? @iamkun