Comparing version 1.0.9 to 1.0.10
@@ -326,10 +326,10 @@ | ||
// Count up to minute and hour | ||
dayChanged = false; | ||
var upMinHour = function (collection) { | ||
goUp(secs, collection, 'cSecs','cMins', 0); | ||
goUp(mins, collection, 'cMins','cHour', 0); | ||
goUp(hours, collection, 'cHour','cDate', 0); | ||
return !(goUp(hours, collection, 'cHour','cDate', 0)); | ||
}; | ||
upMinHour(collection); | ||
dayChanged = false; | ||
dayChanged = upMinHour(collection); | ||
@@ -351,3 +351,3 @@ if (hasDays || hasMonths) { | ||
if (dayChanged) { | ||
collection.cMin = collection.cHour = 0; | ||
collection.cSecs = collection.cMins = collection.cHour = 0; | ||
upMinHour(collection); | ||
@@ -354,0 +354,0 @@ } |
{ | ||
"name": "croner", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"description": "Isomorphic JavaScript cron parser and scheduler.", | ||
@@ -5,0 +5,0 @@ "author": "Hexagon <github.com/hexagon>", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23860