1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-26 22:41:17 +02:00

Alarm support

This commit is contained in:
Laurent Cozic
2017-09-10 17:56:27 +01:00
parent 7aaf4fb491
commit 7ac6f39658
3 changed files with 130 additions and 1 deletions

View File

@@ -10,6 +10,10 @@ let time = {
return (new Date()).getTime();
},
unixMsToObject(ms) {
return new Date(ms);
},
unixMsToS(ms) {
return Math.floor(ms / 1000);
},