3 ms·
Not a direct js dev so forgive my ignorance. How does this compare to moment.js [0]? Any feature differences? [0] https://momentjs.com/ https://momentjs.com/
by bastijn 9y ago
Not a direct js dev so forgive my ignorance. How does this compare to moment.js [0]? Any feature differences?
[0] https://momentjs.com/ https://momentjs.com/
- Osmose 9y agoThere's a page explaining this: https://moment.github.io/luxon/docs/manual/faq/why.html https://moment.github.io/luxon/docs/manual/faq/why.html
- bastijn 9y agoThanks. This link should be on the github page to be honest. For people like me who do not (always) click through if they don’t see an immediate need. Only now notice the url contains moment and this is part of moment.
- Techonomicon 9y agoWell, perhaps the people who don't care to investigate just aren't a target of this library at the moment.
- hectorlorenzo 9y ago"at the moment"? No pun intended?
- icambron 9y agoIt is linked on the Github page. There's also a link to a page making direct feature comparisons to Moment: https://moment.github.io/luxon/docs/manual/faq/moment.html https://moment.github.io/luxon/docs/manual/faq/moment.html
- dwg 9y agoFor me and I'm sure others one of the most important differences is immutability. This has been a big request from the community, but would be impossible to implement in moment without breaking much code which relies on the current mutability. https://github.com/moment/moment/issues/1754 https://github.com/moment/moment/issues/1754