iamkun / iamkun/dayjs

urgency-----Etc/GMT0 is Error

Open
#2,108 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

current date is “08”,
so after set "hour(0)", date should show "08"

image

date is wrong
but if not 'ETC/GMT' (zero timezone),it is right
such as
Etc/GMT-1
image

not only set hour, set Date is wrong,too.

I compare Momentjs,
image

I'm very anxious for your answer
Thanks very much.

I want to solve this problem in this way. Can you take a look at ?
image

image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.