dateformat
Advanced tools
Comparing version 4.1.0 to 4.2.0
@@ -35,3 +35,3 @@ "use strict"; | ||
date = date || new Date(); | ||
date = date || date === 0 ? date : new Date(); | ||
@@ -38,0 +38,0 @@ if (!(date instanceof Date)) { |
@@ -15,3 +15,3 @@ { | ||
], | ||
"version": "4.1.0", | ||
"version": "4.2.0", | ||
"license": "MIT", | ||
@@ -18,0 +18,0 @@ "main": "lib/dateformat", |
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
22151