paniers/public_html_admin/libs/moment
Adrien RENARD c09d71704b first commit 2023-12-22 00:37:04 +01:00
..
benchmarks first commit 2023-12-22 00:37:04 +01:00
locale first commit 2023-12-22 00:37:04 +01:00
min first commit 2023-12-22 00:37:04 +01:00
tasks first commit 2023-12-22 00:37:04 +01:00
test first commit 2023-12-22 00:37:04 +01:00
.gitignore first commit 2023-12-22 00:37:04 +01:00
.jscs.json first commit 2023-12-22 00:37:04 +01:00
.npmignore first commit 2023-12-22 00:37:04 +01:00
.spmignore first commit 2023-12-22 00:37:04 +01:00
.travis.yml first commit 2023-12-22 00:37:04 +01:00
CHANGELOG.md first commit 2023-12-22 00:37:04 +01:00
CONTRIBUTING.md first commit 2023-12-22 00:37:04 +01:00
Gruntfile.js first commit 2023-12-22 00:37:04 +01:00
LICENSE first commit 2023-12-22 00:37:04 +01:00
README.md first commit 2023-12-22 00:37:04 +01:00
bower.json first commit 2023-12-22 00:37:04 +01:00
component.json first commit 2023-12-22 00:37:04 +01:00
composer.json first commit 2023-12-22 00:37:04 +01:00
ender.js first commit 2023-12-22 00:37:04 +01:00
moment.js first commit 2023-12-22 00:37:04 +01:00
package.js first commit 2023-12-22 00:37:04 +01:00
package.json first commit 2023-12-22 00:37:04 +01:00

README.md

NPM version NPM downloads MIT License Build Status

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

Documentation

Upgrading to 2.0.0

There are a number of small backwards incompatible changes with version 2.0.0. See the full descriptions here

  • Changed language ordinal method to return the number + ordinal instead of just the ordinal.

  • Changed two digit year parsing cutoff to match strptime.

  • Removed moment#sod and moment#eod in favor of moment#startOf and moment#endOf.

  • Removed moment.humanizeDuration() in favor of moment.duration().humanize().

  • Removed the lang data objects from the top level namespace.

  • Duplicate Date passed to moment() instead of referencing it.

Changelog

Contributing

License

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