V2.0.0 : VOICI LES MODIFICATIONS MAJEURS APPRTÉES DANS CETTE VERSION :
-> REFONTE DU DESIGN DES AFFICHEURS CLASSIQUES (GÉNÉRAL + QUAIS) -> IMPLÉMENTATION DU DESIGN AFL : GÉNÉRAL ET QUAIS -> CHOIX DE LA SÉLECTION DES TYPES D'AFFICHEURS (GÉNÉRAL / QUAIS) UNE FOIS LE TYPE D'AFFICHEUR SÉLECTIONNÉS EN COURS DE DÉVELOPPEMENT : -> IMPLÉMENTATION DES PERTURBATION DU LANDEMAIN POUR LES HORAIRES DU LANDEMAIN AFFICHÉS AVANT MINUIT. -> IMPLÉMENTATION DES AFFICHEURS D'INFORMATIONS / INFOS TRAVAUX, etc... (AFFICHEURS AFL)
This commit is contained in:
1 parent
f0d9ed9ee7
commit
f06ebbaf48
43 files changed
+10519
-3813
No files matched your search
@@ -0,0 +1,12 @@
|
||||
const horaire_date = "2026-06-14";
|
||||
const baseDate = new Date(horaire_date);
|
||||
console.log("baseDate before setHours:", baseDate.toString());
|
||||
const sched = 330; // 05:30
|
||||
baseDate.setHours(Math.floor(sched / 60), sched % 60, 0, 0);
|
||||
console.log("baseDate after setHours:", baseDate.toString());
|
||||
|
||||
const currentTime = new Date("2026-06-14T04:49:15+02:00");
|
||||
console.log("currentTime:", currentTime.toString());
|
||||
|
||||
const diffMinutes = (baseDate.getTime() - currentTime.getTime()) / 60000;
|
||||
console.log("diffMinutes:", diffMinutes);
|
||||
Reference in new issue
Block a user