Comparing version 0.2.7 to 0.2.8
@@ -103,3 +103,3 @@ (function() { | ||
if ((rawActivity != null ? (_ref4 = rawActivity['EventDateTime']) != null ? _ref4[0] : void 0 : void 0) != null) { | ||
timestamp = moment(rawActivity != null ? rawActivity['EventDateTime'][0].slice(0, 19) : void 0).toDate(); | ||
timestamp = moment("" + (rawActivity != null ? rawActivity['EventDateTime'][0].slice(0, 19) : void 0) + "Z").toDate(); | ||
} | ||
@@ -106,0 +106,0 @@ details = rawActivity != null ? (_ref5 = rawActivity['EventCodeDesc']) != null ? _ref5[0] : void 0 : void 0; |
@@ -171,3 +171,3 @@ (function() { | ||
if (((_ref3 = rawActivity['Timestamp']) != null ? _ref3[0] : void 0) != null) { | ||
timestamp = moment(rawActivity['Timestamp'][0].slice(0, 19)).toDate(); | ||
timestamp = moment("" + rawActivity['Timestamp'][0].slice(0, 19) + "Z").toDate(); | ||
} | ||
@@ -196,3 +196,3 @@ details = (_ref4 = rawActivity['EventDescription']) != null ? _ref4[0] : void 0; | ||
} | ||
return moment(ts.slice(0, 19)).toDate(); | ||
return moment("" + ts.slice(0, 19) + "Z").toDate(); | ||
}; | ||
@@ -199,0 +199,0 @@ |
{ | ||
"name": "shipit", | ||
"version": "0.2.7", | ||
"version": "0.2.8", | ||
"description": "This module allows you to connect to many shipping carriers like UPS and FedEx and download tracking data for your packages in a common schema", | ||
@@ -5,0 +5,0 @@ "main": "lib/main.js", |
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
93606