@js-joda/core
Advanced tools
Comparing version 5.5.1 to 5.5.2
{ | ||
"name": "@js-joda/core", | ||
"version": "5.5.1", | ||
"version": "5.5.2", | ||
"description": "a date and time library for javascript", | ||
@@ -51,3 +51,3 @@ "repository": { | ||
}, | ||
"gitHead": "a013e26d61c852b7c0ed9d76d2ba2516c32a79dc" | ||
"gitHead": "8d78c174b570252ae707da314a444e2a9bd1f3fa" | ||
} |
@@ -22,5 +22,5 @@ /* | ||
} else if(typeof date.toDate === 'function' && date.toDate() instanceof Date) { | ||
return Instant.ofEpochMilli(date.valueOf()).atZone(zone); | ||
return Instant.ofEpochMilli(date.toDate().getTime()).atZone(zone); | ||
} | ||
throw new IllegalArgumentException('date must be a javascript Date or a moment instance'); | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
7684417