Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/models/VallisCycle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { fromNow, timeDeltaToString } from 'warframe-worldstate-data/utilities';

import { WorldStateObject } from './WorldStateObject';

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