diff options
author | Mike Greiling <mike@pixelcog.com> | 2016-12-13 15:37:59 -0600 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-01-02 13:28:12 -0600 |
commit | 7d988e4483cfe13cccd797850ab6372c74c01d14 (patch) | |
tree | db5fb5a0c70add58049f9a37a94b580e19dd0fb0 /app | |
parent | 35ce4b496c8bd1c160abe350ba8e6c722faa3989 (diff) | |
download | gitlab-ce-7d988e4483cfe13cccd797850ab6372c74c01d14.tar.gz |
fix eslint violations
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/lib/utils/datetime_utility.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/lib/utils/datetime_utility.js b/app/assets/javascripts/lib/utils/datetime_utility.js index 7a136a355ec..76520f67a4d 100644 --- a/app/assets/javascripts/lib/utils/datetime_utility.js +++ b/app/assets/javascripts/lib/utils/datetime_utility.js @@ -1,4 +1,4 @@ -/* 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 dateFormat */ @@ -26,8 +26,8 @@ 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) { return dateFormat(datetime, 'mmm d, yyyy h:MMtt Z'); |