timezone-mock
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -147,2 +147,6 @@ var assert = require('assert'); | ||
MockDate.parse = function (dateString) { | ||
return new MockDate(dateString).getTime(); | ||
} | ||
MockDate.prototype.getTimezoneOffset = function () { | ||
@@ -149,0 +153,0 @@ return this.calcTZO() * 60; |
{ | ||
"name": "timezone-mock", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "A JavaScript library to mock the local timezone.", | ||
@@ -5,0 +5,0 @@ "main": "index.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
20032
568