mirror of
https://github.com/atlanticbiomedical/biomedjs.git
synced 2025-07-02 00:47:26 -04:00
74 lines
11 KiB
JSON
74 lines
11 KiB
JSON
![]() |
{
|
||
|
"name": "moment",
|
||
|
"version": "2.1.0",
|
||
|
"description": "Parse, manipulate, and display dates.",
|
||
|
"homepage": "http://momentjs.com",
|
||
|
"author": {
|
||
|
"name": "Tim Wood",
|
||
|
"email": "washwithcare@gmail.com",
|
||
|
"url": "http://timwoodcreates.com/"
|
||
|
},
|
||
|
"contributors": [
|
||
|
{
|
||
|
"name": "Rocky Meza",
|
||
|
"url": "http://rockymeza.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "Iskren Ivov Chernev",
|
||
|
"email": "iskren.chernev@gmail.com",
|
||
|
"url": "https://github.com/ichernev"
|
||
|
}
|
||
|
],
|
||
|
"keywords": [
|
||
|
"moment",
|
||
|
"date",
|
||
|
"time",
|
||
|
"parse",
|
||
|
"format",
|
||
|
"validate",
|
||
|
"i18n",
|
||
|
"l10n",
|
||
|
"ender"
|
||
|
],
|
||
|
"main": "./moment.js",
|
||
|
"engines": {
|
||
|
"node": "*"
|
||
|
},
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "https://github.com/timrwood/moment.git"
|
||
|
},
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/timrwood/moment/issues"
|
||
|
},
|
||
|
"licenses": [
|
||
|
{
|
||
|
"type": "MIT"
|
||
|
}
|
||
|
],
|
||
|
"devDependencies": {
|
||
|
"uglify-js": "latest",
|
||
|
"grunt": "latest",
|
||
|
"nodeunit": "latest",
|
||
|
"grunt-contrib-jshint": "latest",
|
||
|
"grunt-contrib-nodeunit": "latest",
|
||
|
"grunt-contrib-concat": "latest",
|
||
|
"grunt-contrib-uglify": "latest",
|
||
|
"grunt-contrib-watch": "latest",
|
||
|
"grunt-lib-legacyhelpers": "latest"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"test": "grunt"
|
||
|
},
|
||
|
"ender": "./ender.js",
|
||
|
"dojoBuild": "package.js",
|
||
|
"readme": "A lightweight javascript date library for parsing, validating, manipulating, and formatting dates.\n\n# [Documentation](http://momentjs.com/docs/)\n\nUpgrading to 2.0.0\n==================\n\nThere are a number of small backwards incompatible changes with version 2.0.0.\n\n[See them and their descriptions here](https://gist.github.com/timrwood/e72f2eef320ed9e37c51#backwards-incompatible-changes)\n\nChanged language ordinal method to return the number + ordinal instead of just the ordinal.\n\nChanged two digit year parsing cutoff to match strptime.\n\nRemoved `moment#sod` and `moment#eod` in favor of `moment#startOf` and `moment#endOf`.\n\nRemoved `moment.humanizeDuration()` in favor of `moment.duration().humanize()`.\n\nRemoved the lang data objects from the top level namespace.\n\nDuplicate `Date` passed to `moment()` instead of referencing it.\n\nTravis Build Status\n===================\n\nDevelop [](https://travis-ci.org/timrwood/moment)\n\nMaster [](https://travis-ci.org/timrwood/moment)\n\nChangelog\n=========\n\n### 2.1.0 [See changelog](https://gist.github.com/timrwood/b8c2d90d528eddb53ab5)\n\nAdded better week support.\n\nAdded ability to set offset with `moment#zone`.\n\nAdded ability to set month or weekday from a string.\n\nAdded `moment#min` and `moment#max`\n\n### 2.0.0 [See changelog](https://gist.github.com/timrwood/e72f2eef320ed9e37c51)\n\nAdded short form localized tokens.\n\nAdded ability to define language a string should be parsed in.\n\nAdded support for reversed add/subtract arguments.\n\nAdded support for `endOf('week')` and `startOf('week')`.\n\nFixed the logic for `moment#diff(Moment, 'months')` and `moment#diff(Moment, 'years')`\n\n`moment#diff` now floors instead of rounds.\n\nNormalized `moment#toString`.\n\nAdded `isSame`, `isAfter`, and `isBefore` methods.\n\nAdded better week support.\n\nAdded `moment#toJSON`\n\nBugfix: Fixed parsing of first century dates\n\nBugfix: Parsing 10Sep2001 should work as expected\n\nBugfix: Fixed wierdness with `moment.utc()` parsing.\n\nChanged language ordinal method to return the number + ordinal instead of just the ordinal.\n\nChanged two digit year parsing cutoff to match strptime.\n\nRemoved `moment#sod` and `moment#eod` in favor of `moment#startOf` and `moment#endOf`.\n\nRemoved `moment.humanizeDuration()` in favor of `moment.duration().humanize()`.\n\nRemoved the lang data objects from the top level namespace.\n\nDuplicate `Date` passed to `moment()` instead of referencing it.\n\n### 1.7.2 [See discussion](https://github.com/timrwood/moment/issues/456)\n\nBugfixes\n\n### 1.7.1 [See discussion](https://github.com/timrwood/moment/issues/384)\n\nBugfixes\n\n### 1.7.0 [See discussion](https://github.com/timrwood/moment/issues/288)\n\nAdded `moment.fn.endOf()` and `moment.fn.startOf()`.\n\nAdded validation via `moment.fn.isValid()`.\n\nMade formatting method 3x faster. http://jsperf.com/momentjs-cached-format-functions\n\nAdd support for month/weekday callbacks in `moment.fn.format()`\n\nAdded instance specific languages.\n\nAdded two letter weekday abbreviations with the formatting token `dd`.\n\nVarious language updates.\n\nVarious bugfixes.\n\n### 1.6.0 [See discussion](https://github.com/timrwood/moment/pull/268)\n\nAdded Durations.\n\nRevamped parser to support parsing non-separated strings (YYYYMMDD vs YYYY-MM-DD).\n\nAdded support for millisecond parsing and formatting tokens (S SS SSS)\n\nAdded a getter for `moment.lang()`\n\nVarious bugfixes.\n\nThere are a few things deprecated in the 1.6.0 release.\n\n1. The format tokens `z` and `zz` (timezone abbreviations like EST CST MST etc) will no longer be supported. Due to inconsistent browser support, we are unable to consistently produce this value. See [this issue](https://github.com/timrwood/moment/issues/162) for more background.\n\n2. The method `moment.fn.native` is deprecated in favor of `moment.fn.toDate`. There continue to be issues with Google Closure C
|
||
|
"readmeFilename": "readme.md",
|
||
|
"_id": "moment@2.1.0",
|
||
|
"dist": {
|
||
|
"shasum": "0b898042353aaa77ceedc8979b975e7c636dc002"
|
||
|
},
|
||
|
"_from": "moment@",
|
||
|
"_resolved": "https://registry.npmjs.org/moment/-/moment-2.1.0.tgz"
|
||
|
}
|