moment

Parse, validate, manipulate, and display dates

MIT 76 个版本
安装
npm install moment
yarn add moment
pnpm add moment
bun add moment
README

Moment.js

NPM version NPM downloads MIT License Build Status Coverage Status FOSSA Status SemVer compatibility

A JavaScript date library for parsing, validating, manipulating, and formatting dates.

Project Status

Moment.js is a legacy project, now in maintenance mode. In most cases, you should choose a different library.

For more details and recommendations, please see Project Status in the docs.

Thank you.

Resources

License

Moment.js is freely distributable under the terms of the MIT license.

FOSSA Status

版本列表
2.30.1 2023-12-27
2.30.0 2023-12-26
2.29.4 2022-07-06
2.29.3 2022-04-17
2.29.2 2022-04-03
2.29.1 2020-10-06
2.29.0 2020-09-22
2.28.0 2020-09-13
2.27.0 2020-06-18
2.26.0 2020-05-20
2.25.3 2020-05-04
2.25.2 2020-05-04
2.25.1 2020-05-01
2.25.0 2020-05-01
2.24.0 2019-01-21
2.23.0 2018-12-13
2.22.2 2018-06-01
2.22.1 2018-04-15
2.22.0 2018-03-30
2.21.0 2018-03-02
2.20.1 2017-12-19
2.20.0 2017-12-17
2.19.4 2017-12-11
2.19.3 2017-11-29
2.19.2 2017-11-11
2.19.1 2017-10-11
2.19.0 2017-10-10
2.18.1 2017-03-21
2.18.0 2017-03-18
2.17.1 2016-12-04
2.17.0 2016-11-22
2.16.0 2016-11-10
2.15.2 2016-10-24
2.15.1 2016-09-21
2.15.0 2016-09-12
2.14.1 2016-07-04
2.14.0 2016-07-04
2.13.0 2016-04-18
2.12.0 2016-03-07
2.11.2 2016-02-03
2.11.1 2016-01-09
2.11.0 2016-01-02
2.10.6 2015-07-28
2.10.5 2015-07-26
2.10.3 2015-05-13
2.10.2 2015-04-09
2.9.0 2015-01-08
2.8.4 2014-11-19
2.8.3 2014-09-05
2.8.2 2014-08-22
2.8.1 2014-08-01
2.7.0 2014-06-12
2.6.0 2014-04-12
2.5.1 2014-01-22
2.5.0 2013-12-23
2.4.0 2013-10-27
2.3.1 2013-10-09
2.3.0 2013-10-07
2.2.1 2013-09-12
2.1.0 2013-07-07
2.0.0 2013-02-08
1.7.2 2012-10-02
1.7.1 2012-10-01
1.7.0 2012-07-25
1.6.2 2012-05-04
1.6.1 2012-04-26
1.6.0 2012-04-26
1.5.1 2012-04-06
1.5.0 2012-03-19
1.4.0 2012-02-03
1.3.0 2012-01-05
1.2.0 2011-12-06
1.1.1 2011-11-11
1.1.0 2011-10-27
1.0.1 2011-12-06
1.0.0 2011-12-06