-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
urgency-----Etc/GMT0 is Error #2108
Comments
fixed by pr #2118 |
The difference between the 2 examples is that the example with 'GMT' creates´a dayjs object with 'utc mode', while the other does not (and should not!). You should not look at nor use the internal variables (like '$d'), but the documented interface (like '.format()'). So what is the output of Just as a hint (but of course you know all this already 😃):
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
current date is “08”,
so after set "hour(0)", date should show "08"
date is wrong
![image](https://user-images.githubusercontent.com/116078131/200466770-00a883ae-892b-4f22-8216-35c36dde9782.png)
but if not 'ETC/GMT' (zero timezone),it is right
such as
Etc/GMT-1
not only set hour, set Date is wrong,too.
I compare Momentjs,
![image](https://user-images.githubusercontent.com/116078131/200473002-41e7a945-0214-4f88-9474-ecded1d9cd58.png)
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](https://user-images.githubusercontent.com/116078131/200727290-21e2b8f9-0bfb-49af-b271-0df540aa4aa2.png)
The text was updated successfully, but these errors were encountered: