-
Notifications
You must be signed in to change notification settings - Fork 316
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
Equivalent for moment.utc APIs #73
Comments
This will give you a date as the UTC equivolent, which you can then format to your liking.
|
Well, the thing is, a |
Well, this being an open project on Github, you're more than welcome to contribute a more thorough pull request, since you understand the underlying library's behavior better. |
Also, there are lots of examples of Luxon, which is a successor to MomentJS. |
well, the thing is, I don't know what the equivalent of these moment.js APIs are for each of the alternative libraries (which I don't know well). I was hoping that your website could give me the answer 😄 In the current state of my knowledge, I do need momentjs to achieve my goal. |
I'd suggest at least looking at Luxon and see if it does what you need. It's by the moment js developers, just newer, safer, smaller and cleaner. I don't work on this library, just one of many repositories I watch |
momentjs supports using it either in the local timezone or in the UTC timezone. But this repo only gives alternatives for the local timezone case. It would be great to have alternatives for the UTC case too.
The text was updated successfully, but these errors were encountered: