Comparing version 0.0.1 to 0.0.3
@@ -44,5 +44,4 @@ // == BSD2 LICENSE == | ||
if (convertedMoment.zone() === 0) { | ||
userOffsetFromUTC = userOffsetFromUTC || false; | ||
if (userOffsetFromUTC == false) { | ||
// Make sure we have an offset. An offset of 0 is very possible so truthyness is our enemy here. | ||
if (userOffsetFromUTC == null) { | ||
throw new Error('Sorry but userOffsetFromUTC is required'); | ||
@@ -49,0 +48,0 @@ } |
{ | ||
"name": "sundial", | ||
"version": "0.0.1", | ||
"version": "0.0.3", | ||
"description": "Tidepool's datetime library thingie.", | ||
"keywords": [ | ||
"discovery" | ||
"datetime", | ||
"date", | ||
"time" | ||
], | ||
@@ -8,0 +10,0 @@ "homepage": "https://github.com/tidepool-org/hakken", |
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
3470