browser-tz
Advanced tools
Comparing version 0.3.2 to 0.3.3
@@ -32,3 +32,3 @@ var moment = require("moment-timezone/moment-timezone.js") | ||
} else { | ||
if (!moment.tz.__zones[date.timezone]) { | ||
if (!moment.__zones[date.timezone]) { | ||
return "BAD DATE" | ||
@@ -35,0 +35,0 @@ } |
@@ -11,3 +11,3 @@ var moment = require("moment-timezone/moment-timezone.js") | ||
moment.tz.add(timezoneData) | ||
moment.tz.__zones = timezoneData.zones | ||
moment.__zones = timezoneData.zones | ||
@@ -14,0 +14,0 @@ return { |
@@ -25,3 +25,3 @@ var moment = require("moment-timezone/moment-timezone.js") | ||
if (!moment.tz.__zones[date.timezone]) { | ||
if (!moment.__zones[date.timezone]) { | ||
return "BAD DATE" | ||
@@ -28,0 +28,0 @@ } |
{ | ||
"name": "browser-tz", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"description": "Timezone specific manipulation of datetime strings", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
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
49195