mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
By default, use localized long date-time format
because ISO 8601 is not easy to the eye (at least for non-tech people).
This commit is contained in:
parent
3f28c0dd22
commit
dad3fd22ec
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ Blaze.registerHelper('isTouchScreenOrShowDesktopDragHandles', () =>
|
|||
Blaze.registerHelper('moment', (...args) => {
|
||||
args.pop(); // hash
|
||||
const [date, format] = args;
|
||||
return moment(date).format(format);
|
||||
return moment(date).format(format ?? 'LLLL');
|
||||
});
|
||||
|
||||
Blaze.registerHelper('canModifyCard', () =>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue