poly-js-utils
Advanced tools
Comparing version 0.0.9 to 0.0.10
{ | ||
"name": "poly-js-utils", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"description": "Common client-side tools used in HSS Sites themes and locators.", | ||
@@ -5,0 +5,0 @@ "main": "main.js", |
@@ -119,3 +119,3 @@ var $ = require('jquery'); | ||
dateFormat = dateFormat || "MMMM DD YYYY, h:mm a"; | ||
return moment.utc(new Date(dateString)).local().format(dateFormat); | ||
return moment.utc(dateString).local().format(dateFormat); | ||
}; | ||
@@ -122,0 +122,0 @@ |
57783