iamkun / iamkun/dayjs

Got 'Etc/Unknown' after calling dayjs.tz.guess

Open
#2,560 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
48.7k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
Got 'Etc/Unknown' after calling dayjs.tz.guess

**Expected behavior**
A right time zone.
Under what circumstances would this result be obtained?

**Information**
- Day.js Version [^1.11.7]

Contributor guide

Open the contributing guide

Research direction

Start by tracing the dayjs.tz.guess entry point and the timezone-detection behavior used by Day.js 1.11.7. Reproduce the reported result in an environment where it occurs, determine the circumstances that produce Etc/Unknown, and verify the result is either corrected or clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.