Skip to content

Commit b4c85b7

Browse files
authored
fix: more recent vallis anchor (#778)
1 parent b8aee72 commit b4c85b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/models/VallisCycle.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { fromNow, timeDeltaToString } from 'warframe-worldstate-data/utilities';
22

33
import { WorldStateObject } from './WorldStateObject';
44

5-
const lStart = new Date('November 10, 2018 08:13:48 UTC');
5+
const lStart = new Date('2026-02-04T19:46:48Z');
66
const loopTime = 1600000;
77
const warmTime = 400000;
88
const coldTime = loopTime - warmTime;
@@ -35,7 +35,7 @@ interface CurrnetCycle {
3535
* @returns current cycle state
3636
*/
3737
function getCurrentCycle(): CurrnetCycle {
38-
const sinceLast = (Date.now() - lStart.getMilliseconds()) % loopTime;
38+
const sinceLast = (Date.now() - lStart.getTime()) % loopTime;
3939
const toNextFull = loopTime - sinceLast;
4040
let state = 'cold';
4141
if (toNextFull > coldTime) {

0 commit comments

Comments
 (0)