diff options
author | Thomas Liske <thomas@fiasko-nw.net> | 2019-10-28 08:25:55 +0100 |
---|---|---|
committer | Thomas Liske <thomas@fiasko-nw.net> | 2019-10-28 08:25:55 +0100 |
commit | 064c4d7ca7cce65989979480a5f6ff4816895283 (patch) | |
tree | b00d22635a1c422bd6f2f65e3145f03fc9f3287f | |
parent | 0fb15888bc7c845f85c3201c024ee35448b8836c (diff) | |
download | wekan-064c4d7ca7cce65989979480a5f6ff4816895283.tar.gz wekan-064c4d7ca7cce65989979480a5f6ff4816895283.tar.bz2 wekan-064c4d7ca7cce65989979480a5f6ff4816895283.zip |
Lintian fixes.
-rw-r--r-- | client/components/cards/cardDate.js | 6 | ||||
-rw-r--r-- | client/lib/datepicker.js | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/client/components/cards/cardDate.js b/client/components/cards/cardDate.js index 7f8f5edb..6634ee1b 100644 --- a/client/components/cards/cardDate.js +++ b/client/components/cards/cardDate.js @@ -105,7 +105,7 @@ Template.dateBadge.helpers({ // editCardReceivedDatePopup (class extends DatePicker { onCreated() { - super.onCreated(moment().format("YYYY-MM-DD HH:mm")); + super.onCreated(moment().format('YYYY-MM-DD HH:mm')); this.data().getReceived() && this.date.set(moment(this.data().getReceived())); } @@ -122,7 +122,7 @@ Template.dateBadge.helpers({ // editCardStartDatePopup (class extends DatePicker { onCreated() { - super.onCreated(moment().format("YYYY-MM-DD HH:mm")); + super.onCreated(moment().format('YYYY-MM-DD HH:mm')); this.data().getStart() && this.date.set(moment(this.data().getStart())); } @@ -171,7 +171,7 @@ Template.dateBadge.helpers({ // editCardEndDatePopup (class extends DatePicker { onCreated() { - super.onCreated(moment().format("YYYY-MM-DD HH:mm")); + super.onCreated(moment().format('YYYY-MM-DD HH:mm')); this.data().getEnd() && this.date.set(moment(this.data().getEnd())); } diff --git a/client/lib/datepicker.js b/client/lib/datepicker.js index 79c1413f..8ad66c5f 100644 --- a/client/lib/datepicker.js +++ b/client/lib/datepicker.js @@ -3,7 +3,7 @@ DatePicker = BlazeComponent.extendComponent({ return 'datepicker'; }, - onCreated(defaultTime='1970-01-01 08:00:00') { + onCreated(defaultTime = '1970-01-01 08:00:00') { this.error = new ReactiveVar(''); this.card = this.data(); this.date = new ReactiveVar(moment.invalid()); |