diff options
author | Ignatz <computer-freak94@gmx.de> | 2018-05-18 11:13:01 +0200 |
---|---|---|
committer | Ignatz <computer-freak94@gmx.de> | 2018-05-18 11:13:01 +0200 |
commit | ef99e6a6b1cd8d55fdab9ff94e7bfc3d5c538b8f (patch) | |
tree | 41bec9d1c21da1b960cbc20c84275383d625fc20 /client/lib/datepicker.js | |
parent | 3bf4f3ef40a50b2471d0a6a402c443760ce4427b (diff) | |
download | wekan-ef99e6a6b1cd8d55fdab9ff94e7bfc3d5c538b8f.tar.gz wekan-ef99e6a6b1cd8d55fdab9ff94e7bfc3d5c538b8f.tar.bz2 wekan-ef99e6a6b1cd8d55fdab9ff94e7bfc3d5c538b8f.zip |
indend corrections
Diffstat (limited to 'client/lib/datepicker.js')
-rw-r--r-- | client/lib/datepicker.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/lib/datepicker.js b/client/lib/datepicker.js index 947970ee..ab2da0bd 100644 --- a/client/lib/datepicker.js +++ b/client/lib/datepicker.js @@ -45,7 +45,7 @@ DatePicker = BlazeComponent.extendComponent({ events() { return [{ 'keyup .js-date-field'() { - // parse for localized date format in strict mode + // parse for localized date format in strict mode const dateMoment = moment(this.find('#date').value, 'L', true); if (dateMoment.isValid()) { this.error.set(''); @@ -53,7 +53,7 @@ DatePicker = BlazeComponent.extendComponent({ } }, 'keyup .js-time-field'() { - // parse for localized time format in strict mode + // parse for localized time format in strict mode const dateMoment = moment(this.find('#time').value, 'LT', true); if (dateMoment.isValid()) { this.error.set(''); @@ -62,7 +62,7 @@ DatePicker = BlazeComponent.extendComponent({ 'submit .edit-date'(evt) { evt.preventDefault(); - // if no time was given, init with 12:00 + // if no time was given, init with 12:00 const time = evt.target.time.value || moment(new Date().setHours(12, 0, 0)).format('LT'); const dateString = `${evt.target.date.value} ${time}`; |