This commit is contained in:
Christopher Cookman 2024-07-22 16:47:09 -06:00
parent 321c9dbd22
commit e722a3823f
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42

View file

@ -2,7 +2,7 @@ const moment = require('moment');
require('moment-duration-format');
module.exports = {}
//const change = 62167219200; // Subtract a year, whoops
const change = 62135659200
const change = 62198755200
module.exports.convertSLTimestamp = (timestamp) => {
// Convert SCP SL timestamp to seconds since SCP epoch
const ourTs = Number(BigInt(timestamp) / 10000000n);