The timezone is PST8PDT, but it comes out as invalid timezone specified.
- Dominant language
- JavaScript
- Stars
- 48.7k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
A clear and concise description of what the bug is.
i am using version 1.11.5 of dayjs.
For now, I am running a global site.
So we use the dayjs().tz().guess() function to guess which time zone the user is.
The actual location of the bug user is in China.
However, the following error comes out.
RangeError: Invalid time zone specified: PST8PDT

There are two strange things.
1) Timezone is marked as PST8PDT, not China (user did not use vpn separately).
2) The PST8PDT time zone is not an invalid value. If I use dayjs().tz('PST8PDT') in my computer environment, there is no error.
I don't know exactly what the cause is.
**Expected behavior**
A clear and concise description of what you expected to happen.
1) The user's time zone should come out as China.
2) There should be no invalid error.
**Information**
- Day.js Version [v1.1.15]
- OS: [window]
- Browser [chrome]
- Time zone: [GMT+08:00 Asia/Shanghai]
Contributor guide
Assessment
This issue has not been assessed yet.