moment
https://github.com/moment/moment
JavaScript
Parse, validate, manipulate, and display dates in javascript.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
JavaScript not yet supported135 Subscribers
View all SubscribersAdd a CodeTriage badge to moment
Help out
- Issues
- moment("2019-08-30 23:59:59").from(moment("2019-10-25 12:00:00")) is '54.50001157407407 days ago' (should be 55.500... days ago)
- Inconsistent return value of valueOf() on differnt NodeJS versions
- moment.duration('11:11').asMilliseconds() return milliseconds for '10:11' on day ot time-change
- getDays function returns a floating number for dates between 3/10/2019 and 3/11/2019
- overflowing moment seen as valid
- fromNow ignores threshold
- Infected with CC-BY-SA 3.0 license from stackoverflow?
- add days_per_month configuration in duration calculation
- make a place to test "development version" of Moment.js
- Adding and subtracting from dates does not preserve hours when the timezone has midnight DST rules
- Docs
- JavaScript not yet supported