diff options
author | Jacob Schatz <jschatz1@gmail.com> | 2017-07-10 08:15:24 -0400 |
---|---|---|
committer | Jacob Schatz <jschatz1@gmail.com> | 2017-07-10 08:15:24 -0400 |
commit | 410cf6404bb6231b794c6d7b15e5f265eb1640c3 (patch) | |
tree | a5d523a20b023d2e6dfcc7ac8f7fd95ee2e6446f | |
parent | 5f1bca02b0d196c5f63dfad741fa583e273462d2 (diff) | |
download | gitlab-ce-fix-date-off-by-1.tar.gz |
Fixes ` Infix operators must be spaced space-infix-ops`.fix-date-off-by-1
-rw-r--r-- | app/assets/javascripts/due_date_select.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/due_date_select.js b/app/assets/javascripts/due_date_select.js index 2212b5719bc..7a47a85c4fd 100644 --- a/app/assets/javascripts/due_date_select.js +++ b/app/assets/javascripts/due_date_select.js @@ -179,7 +179,7 @@ class DueDateSelectors { } }); - calendar.setDate(new Date(y, m-1, d)); + calendar.setDate(new Date(y, m - 1, d)); $datePicker.data('pikaday', calendar); }); |