Test time

This commit is contained in:
Ral 2025-02-26 18:46:27 +01:00
parent 70f7daf155
commit 94982fbfa9
1 changed files with 18 additions and 19 deletions

View File

@ -1,31 +1,30 @@
'use strict';
// Fake 'now' date time for testing
//const fakeNow = null;
const fakeNow = null;
// Test transitions
const fakeNow = Date.parse("2025-02-28T18:53:50");
//const fakeNow = Date.parse("2025-02-28T18:53:50");
// Test Fr
// const fakeNow = Date.parse("2024-03-01T19:00:00");
// const fakeNow = Date.parse("2024-03-01T19:15:00");
// const fakeNow = Date.parse("2024-03-01T20:15:00");
// const fakeNow = Date.parse("2024-03-01T21:00:00");
//const fakeNow = Date.parse("2025-02-28T19:00:00");
//const fakeNow = Date.parse("2025-02-28T19:15:00");
//const fakeNow = Date.parse("2025-02-28T20:15:00");
//const fakeNow = Date.parse("2025-02-28T21:15:00");
// Test Sa
// const fakeNow = Date.parse("2024-03-02T11:00:00");
// const fakeNow = Date.parse("2024-03-02T11:15:00");
// const fakeNow = Date.parse("2024-03-02T12:00:00");
// const fakeNow = Date.parse("2024-03-02T13:00:00");
// const fakeNow = Date.parse("2024-03-02T14:45:00");
// const fakeNow = Date.parse("2024-03-02T15:30:00");
// const fakeNow = Date.parse("2024-03-02T16:30:00");
// const fakeNow = Date.parse("2024-03-02T18:00:00");
// const fakeNow = Date.parse("2024-03-02T19:00:00");
// const fakeNow = Date.parse("2024-03-02T20:00:00");
// const fakeNow = Date.parse("2024-03-02T20:15:00");
//const fakeNow = Date.parse("2025-03-01T11:00:00");
//const fakeNow = Date.parse("2025-03-01T11:15:00");
//const fakeNow = Date.parse("2025-03-01T12:00:00");
//const fakeNow = Date.parse("2025-03-01T13:00:00");
//const fakeNow = Date.parse("2025-03-01T14:30:00");
//const fakeNow = Date.parse("2025-03-01T14:45:00");
//const fakeNow = Date.parse("2025-03-01T15:30:00");
//const fakeNow = Date.parse("2025-03-01T16:30:00");
//const fakeNow = Date.parse("2025-03-01T18:00:00");
//const fakeNow = Date.parse("2025-03-01T19:00:00");
//const fakeNow = Date.parse("2025-03-01T20:00:00");
//const fakeNow = Date.parse("2025-03-01T20:15:00");
const fakeTimeDelta = fakeNow === null ? 0 : fakeNow - Date.now();