Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit e2919c4

Browse files
committed
Convert ms to s
1 parent bb817c7 commit e2919c4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/botPage/bot/data-collection.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,14 +121,16 @@ export default class DataCollection {
121121

122122
getUTCDate = () => {
123123
const date = new Date();
124-
return Date.UTC(
124+
const utcDate = Date.UTC(
125125
date.getUTCFullYear(),
126126
date.getUTCMonth(),
127127
date.getUTCDate(),
128128
date.getUTCHours(),
129129
date.getUTCMinutes(),
130130
date.getUTCMinutes()
131131
);
132+
133+
return Math.floor(utcDate / 1000);
132134
};
133135
}
134136

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy