Attempt to fix change
This commit is contained in:
parent
8a6a0d5510
commit
f0e7191ba6
|
@ -1,7 +1,8 @@
|
||||||
const moment = require('moment');
|
const moment = require('moment');
|
||||||
require('moment-duration-format');
|
require('moment-duration-format');
|
||||||
module.exports = {}
|
module.exports = {}
|
||||||
const change = 62167219200; // Subtract a year, whoops
|
//const change = 62167219200; // Subtract a year, whoops
|
||||||
|
const change = 62198779200
|
||||||
module.exports.convertSLTimestamp = (timestamp) => {
|
module.exports.convertSLTimestamp = (timestamp) => {
|
||||||
// Convert SCP SL timestamp to seconds since SCP epoch
|
// Convert SCP SL timestamp to seconds since SCP epoch
|
||||||
const ourTs = Number(BigInt(timestamp) / 10000000n);
|
const ourTs = Number(BigInt(timestamp) / 10000000n);
|
||||||
|
|
Loading…
Reference in a new issue