cron-parser
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -5,3 +5,3 @@ { | ||
"description": "Node.js library for parsing crontab instructions", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"keywords": ["cron", "crontab", "parser"], | ||
@@ -8,0 +8,0 @@ "dependencies": {}, |
@@ -89,2 +89,10 @@ 'use strict'; | ||
CronDate.prototype.toISOString = function(d) { | ||
return this._date.toISOString(); | ||
}; | ||
CronDate.prototype.toJSON = function(d) { | ||
return this._date.toJSON(); | ||
}; | ||
CronDate.prototype.setDate = function(d) { | ||
@@ -130,2 +138,6 @@ return this._date.date(d); | ||
CronDate.prototype.toDate = function() { | ||
return this._date.toDate(); | ||
}; | ||
function CronDate (timestamp, tz) { | ||
@@ -132,0 +144,0 @@ if (timestamp instanceof CronDate) { |
{ | ||
"name": "cron-parser", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Node.js library for parsing crontab instructions", | ||
@@ -5,0 +5,0 @@ "main": "lib/parser.js", |
Sorry, the diff of this file is not supported yet
1633
97171