mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 04:29:21 +03:00
new Date().getTime() to Date.now()
This commit is contained in:
parent
7670d2073d
commit
1b811428e7
3 changed files with 5 additions and 5 deletions
|
|
@ -61,7 +61,7 @@ const __set = (key, value) => {
|
|||
}
|
||||
};
|
||||
|
||||
const timestamp = () => Math.round(new Date().getTime() / 1000);
|
||||
const timestamp = () => Math.round(Date.now() / 1000);
|
||||
|
||||
const setTimestamp = () => __set(TIME_KEY, timestamp());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue