summaryrefslogtreecommitdiffstats
path: root/public/js/gogs.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js/gogs.js')
-rw-r--r--public/js/gogs.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/public/js/gogs.js b/public/js/gogs.js
index dc9537bc1a..214cdf9f65 100644
--- a/public/js/gogs.js
+++ b/public/js/gogs.js
@@ -88,9 +88,9 @@ function initRepository() {
inline: true,
timepicker: false,
startDate: $datepicker.data('start-date'),
- formatDate: 'm/d/Y',
+ formatDate: 'Y-m-d',
onSelectDate: function (ct) {
- $('#deadline').val(ct.dateFormat('m/d/Y'));
+ $('#deadline').val(ct.dateFormat('Y-m-d'));
}
});
$('#clear-date').click(function () {