You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
All: Log last requests in case of a sync error
This commit is contained in:
@ -74,6 +74,10 @@ class Time {
|
||||
return moment.unix(ms / 1000).format('DD/MM/YYYY HH:mm');
|
||||
}
|
||||
|
||||
unixMsToLocalHms(ms) {
|
||||
return moment.unix(ms / 1000).format('HH:mm:ss');
|
||||
}
|
||||
|
||||
formatMsToLocal(ms, format = null) {
|
||||
if (format === null) format = this.dateTimeFormat();
|
||||
return moment(ms).format(format);
|
||||
|
Reference in New Issue
Block a user