Added week numbers to dates at card, minicard, Custom Field dates, DatePicker and Calendar.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2021-10-04 15:34:32 +03:00
parent 94b67db78a
commit d06ac09485
6 changed files with 34 additions and 14 deletions

View file

@ -149,6 +149,10 @@ CardCustomField.register('cardCustomField');
});
}
showWeek() {
return this.date.get().week().toString();
}
showDate() {
// this will start working once mquandalle:moment
// is updated to at least moment.js 2.10.5