summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/issuable_form.js
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-01-30 13:56:04 +0000
committerPhil Hughes <me@iamphill.com>2017-02-06 09:38:53 +0000
commit12cc9a530c6540075c78239416027eb706fac386 (patch)
treef6846d1a9033eb767b19a9236a16ee0d5c7c6eaa /app/assets/javascripts/issuable_form.js
parent5942247dd6f73f5e92a3c635873e62d0efbf9ea8 (diff)
downloadgitlab-ce-12cc9a530c6540075c78239416027eb706fac386.tar.gz
Changed date check testremove-jquery-ui-datepicker
Diffstat (limited to 'app/assets/javascripts/issuable_form.js')
-rw-r--r--app/assets/javascripts/issuable_form.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/assets/javascripts/issuable_form.js b/app/assets/javascripts/issuable_form.js
index c7c744ef61f..2ec545db665 100644
--- a/app/assets/javascripts/issuable_form.js
+++ b/app/assets/javascripts/issuable_form.js
@@ -40,12 +40,11 @@
calendar = new Pikaday({
field: $issuableDueDate.get(0),
theme: 'gitlab-theme',
- format: 'yyyy-mm-dd',
+ format: 'YYYY-MM-DD',
onSelect: function(dateText) {
$issuableDueDate.val(dateFormat(new Date(dateText), 'yyyy-mm-dd'));
}
});
- calendar.setDate(new Date($issuableDueDate.val()));
}
}