Commit 7d988e44 authored by Mike Greiling's avatar Mike Greiling

fix eslint violations

parent 35ce4b49
/* eslint-disable func-names, space-before-function-paren, wrap-iife, no-var, no-param-reassign, no-cond-assign, comma-dangle, no-unused-expressions, prefer-template, padded-blocks, max-len */ /* eslint-disable func-names, space-before-function-paren, wrap-iife, no-var, no-param-reassign, no-cond-assign, comma-dangle, no-unused-expressions, prefer-template, prefer-arrow-callback, padded-blocks, max-len */
/* global timeago */ /* global timeago */
/* global dateFormat */ /* global dateFormat */
...@@ -26,8 +26,8 @@ ...@@ -26,8 +26,8 @@
return parseInt(dateItem, 10); return parseInt(dateItem, 10);
}); });
return new Date(dateArray[0], dateArray[1] - 1, dateArray[2]); return new Date(dateArray[0], dateArray[1] - 1, dateArray[2]);
} };
w.gl.utils.formatDate = function(datetime) { w.gl.utils.formatDate = function(datetime) {
return dateFormat(datetime, 'mmm d, yyyy h:MMtt Z'); return dateFormat(datetime, 'mmm d, yyyy h:MMtt Z');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment