mirror of
https://github.com/wekan/wekan.git
synced 2026-01-02 07:38:49 +01:00
Lintian fixes.
This commit is contained in:
parent
0fb15888bc
commit
064c4d7ca7
2 changed files with 4 additions and 4 deletions
|
|
@ -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()));
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue