Adding your locale to Moment.js
To add your locale to Moment.js, submit a pull request with both a locale file and a test file. You can find examples in moment/src/locale/fr.js
and moment/src/test/locale/fr.js
.
To run the tests in Node.js, do npm install
, then grunt
.
If all the tests pass, submit a pull request, and thank you for contributing!
当前内容版权归 momentjs.com 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 momentjs.com .