You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-27 23:28:38 +02:00
Fixed Select Alarm dialog and PoorManIntervals class
This commit is contained in:
@ -33,6 +33,14 @@ class Time {
|
||||
this.timeFormat_ = v;
|
||||
}
|
||||
|
||||
use24HourFormat() {
|
||||
return this.timeFormat() ? this.timeFormat().includes('HH') : true;
|
||||
}
|
||||
|
||||
formatDateToLocal(date, format = null) {
|
||||
return this.formatMsToLocal(date.getTime(), format);
|
||||
}
|
||||
|
||||
dateTimeFormat() {
|
||||
return `${this.dateFormat()} ${this.timeFormat()}`;
|
||||
}
|
||||
|
Reference in New Issue
Block a user