poly-js-utils
Advanced tools
Comparing version 1.4.8 to 1.4.9
{ | ||
"name": "poly-js-utils", | ||
"version": "1.4.8", | ||
"version": "1.4.9", | ||
"description": "Common client-side tools used in HSS Sites themes and locators.", | ||
@@ -5,0 +5,0 @@ "main": "main.js", |
@@ -120,3 +120,3 @@ var _ = require('underscore'); | ||
var julOffset = moment({ M: 6, d: 1 }).utcOffset(); | ||
var stdOffset = Math.min(janOffset, julOffset); | ||
var stdOffset = Math.max(janOffset, julOffset); | ||
return moment(date).utcOffset(stdOffset).format("YYYY-MM-DDTHH:mm:ss"); | ||
@@ -123,0 +123,0 @@ }; |