-
-
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
How to convert to UTC? #462
Comments
No support at present, however an UTC plugin is working in progress. |
So at the moment are there any other tricky way for the conversion? |
It looks like currently only momentjs able to perform this. |
@xxyuk whats the status with the UTC plugin? |
@karlmosenbacher Will be avaliable in next version v1.8.9, maybe in two weeks I hope. |
🎉 This issue has been resolved in version 1.8.9 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Yes, please check. |
console.log(dayjs('11-11-2018', { utc: true, }).format()); this api design is better, Why not follow suit |
I am struggling to convert my date to UTC.
Here is how I did it:
Normal conversion
UTC conversion
Both outputs are still showing in my timezone.
The text was updated successfully, but these errors were encountered: