1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

Mobile: Added status info to view active alarms

This commit is contained in:
Laurent Cozic
2017-11-28 20:31:14 +00:00
parent ddb73c8642
commit d1a83d065a
6 changed files with 40 additions and 22 deletions

View File

@ -55,7 +55,8 @@ class Time {
return moment.unix(ms / 1000).format('DD/MM/YYYY HH:mm');
}
formatMsToLocal(ms, format) {
formatMsToLocal(ms, format = null) {
if (format === null) format = this.dateTimeFormat();
return moment(ms).format(format);
}