Comparing version 2.5.0 to 3.0.0
{ | ||
"name": "luxon", | ||
"version": "2.5.0", | ||
"version": "3.0.0", | ||
"description": "Immutable date wrapper", | ||
@@ -5,0 +5,0 @@ "author": "Isaac Cambron", |
@@ -11,2 +11,3 @@ /** | ||
import { isUndefined, isString, isNumber } from "./util.js"; | ||
import SystemZone from "../zones/systemZone.js"; | ||
@@ -21,3 +22,4 @@ export function normalizeZone(input, defaultZone) { | ||
const lowered = input.toLowerCase(); | ||
if (lowered === "local" || lowered === "system") return defaultZone; | ||
if (lowered === "default") return defaultZone; | ||
else if (lowered === "local" || lowered === "system") return SystemZone.instance; | ||
else if (lowered === "utc" || lowered === "gmt") return FixedOffsetZone.utcInstance; | ||
@@ -24,0 +26,0 @@ else return FixedOffsetZone.parseSpecifier(lowered) || IANAZone.create(input); |
@@ -12,3 +12,3 @@ import DateTime from "./datetime.js"; | ||
const VERSION = "2.5.0"; | ||
const VERSION = "3.0.0"; | ||
@@ -15,0 +15,0 @@ export { |
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
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
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
3872638
41042