Comparing version 1.11.0 to 1.11.1
@@ -442,3 +442,11 @@ #!/usr/bin/env node | ||
function updateDate (key, value, old) { | ||
var d = parseTime(value); | ||
var timestamp = Date.parse(value); | ||
var d; | ||
if (isNaN(timestamp)) { | ||
d = parseTime(value); | ||
} | ||
else { | ||
d = new Date(timestamp); | ||
} | ||
if (isNaN(d.valueOf())) { | ||
@@ -445,0 +453,0 @@ if (!old || isNaN(old)) { |
{ | ||
"name": "clocker", | ||
"version": "1.11.0", | ||
"version": "1.11.1", | ||
"description": "track project hours", | ||
@@ -5,0 +5,0 @@ "bin": { |
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
20805
431