moment-business-time
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -93,3 +93,3 @@ var moment = require('moment'), | ||
d = incrementDays('add')(num, d); | ||
} else { | ||
} else if (unit) { | ||
d = addUnit(unit)(num, d); | ||
@@ -104,3 +104,3 @@ } | ||
d = incrementDays('subtract')(num, d); | ||
} else { | ||
} else if (unit) { | ||
d = subtractUnit(unit)(num, d); | ||
@@ -107,0 +107,0 @@ } |
{ | ||
"name": "moment-business-time", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Query and manipulate moment objects within the context of business/working hours", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
34008