moment-parseplus
Advanced tools
Comparing version 1.1.3 to 1.1.5
## Change Log | ||
### v1.1.5 on 2020-05-03 | ||
- Updated dependencies | ||
- Changed README code examples to use const instead of var | ||
- Remove link to defunct doclets.io | ||
### v1.1.4 on 2020-02-25 | ||
- Updated dependencies | ||
- Fixed npm audit warnings | ||
### v1.1.3 on 2018-07-10 | ||
@@ -11,3 +22,3 @@ | ||
- Updated dependencies and tested working with moment 2.21 | ||
- Support timezone abbreviations in parentheses following timezone offset; e.g. `GMT+0000 (UTC)` | ||
- Support timezone abbreviations in parentheses following timezone offset; e.g. `GMT+0000 (UTC)` | ||
@@ -14,0 +25,0 @@ ### v1.1.1 on 2018-03-14 |
{ | ||
"name": "moment-parseplus", | ||
"version": "1.1.3", | ||
"version": "1.1.5", | ||
"description": "Date parsing plugin for momentjs", | ||
@@ -35,10 +35,10 @@ "main": "parseplus.js", | ||
"dependencies": { | ||
"moment": "^2.24.0" | ||
"moment": "^2.14.0" | ||
}, | ||
"devDependencies": { | ||
"chai": "^4.2.0", | ||
"mocha": "^6.1.4", | ||
"nyc": "^14.1.1", | ||
"mocha": "^7.1.2", | ||
"nyc": "^15.0.1", | ||
"requirejs": "^2.3.6" | ||
} | ||
} |
# moment-parseplus | ||
[![Build Status](https://travis-ci.org/kensnyder/moment-parseplus.svg?branch=master&v=1.1.3)](https://travis-ci.org/kensnyder/moment-parseplus) | ||
[![Code Coverage](https://codecov.io/gh/kensnyder/moment-parseplus/branch/master/graph/badge.svg?v=1.1.3)](https://codecov.io/gh/kensnyder/moment-parseplus) | ||
[![MIT License](https://img.shields.io/npm/l/express.svg?v=1.1.3)](https://opensource.org/licenses/MIT) | ||
[![Build Status](https://travis-ci.org/kensnyder/moment-parseplus.svg?branch=master&v=1.1.4)](https://travis-ci.org/kensnyder/moment-parseplus) | ||
[![Code Coverage](https://codecov.io/gh/kensnyder/moment-parseplus/branch/master/graph/badge.svg?v=1.1.4)](https://codecov.io/gh/kensnyder/moment-parseplus) | ||
[![MIT License](https://img.shields.io/npm/l/express.svg?v=1.1.4)](https://opensource.org/licenses/MIT) | ||
@@ -12,3 +12,3 @@ An extensible date parsing plugin for [momentjs](http://momentjs.com) | ||
Add support to momentjs for parsing many different date formats with the ability to easily add new formats. | ||
## Installation and Usage | ||
@@ -25,6 +25,6 @@ | ||
```js | ||
var moment = require('moment'); | ||
const moment = require('moment'); | ||
require('moment-parseplus'); | ||
var date = moment('March 5th, 2016'); | ||
const date = moment('March 5th, 2016'); | ||
``` | ||
@@ -144,3 +144,3 @@ | ||
```js | ||
var parseplus = require('moment-parseplus'); | ||
const parseplus = require('moment-parseplus'); | ||
@@ -163,3 +163,3 @@ parseplus.addParser({ | ||
```js | ||
var parseplus = require('moment-parseplus'); | ||
const parseplus = require('moment-parseplus'); | ||
@@ -170,3 +170,3 @@ parseplus.addParser({ | ||
handler: function(match) { | ||
var date = new Date(); | ||
const date = new Date(); | ||
return new Date(-1*365*24*60*60*1000 + date); | ||
@@ -180,3 +180,3 @@ } | ||
```js | ||
var parseplus = require('moment-parseplus'); | ||
const parseplus = require('moment-parseplus'); | ||
@@ -197,3 +197,3 @@ parseplus.addParser({ | ||
```js | ||
var parseplus = require('moment-parseplus'); | ||
const parseplus = require('moment-parseplus'); | ||
@@ -221,6 +221,2 @@ parseplus.removeParser('us'); | ||
### Full Documentation | ||
Full documentation is available [on doclets.io](https://doclets.io/kensnyder/moment-parseplus/master) | ||
## Testing | ||
@@ -227,0 +223,0 @@ |
Sorry, the diff of this file is not supported yet
52577
250
Updatedmoment@^2.14.0