You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-26 22:41:17 +02:00
Electron, Mobile: Created alarm service and drivers
This commit is contained in:
@@ -3,11 +3,11 @@ const moment = require('moment');
|
||||
let time = {
|
||||
|
||||
unix() {
|
||||
return Math.floor((new Date()).getTime() / 1000);
|
||||
return Math.floor(Date.now() / 1000);
|
||||
},
|
||||
|
||||
unixMs() {
|
||||
return (new Date()).getTime();
|
||||
return Date.now();
|
||||
},
|
||||
|
||||
unixMsToObject(ms) {
|
||||
|
||||
Reference in New Issue
Block a user