Skip to content
Extraits de code Groupes Projets
Valider f9355acc rédigé par Brieuc Dubois's avatar Brieuc Dubois
Parcourir les fichiers

Merge branch 'main' into dev

parents 8ddc35a3 fdbda547
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -37,7 +37,7 @@ export function displayDate(date: Date): string { ...@@ -37,7 +37,7 @@ export function displayDate(date: Date): string {
const now = new Date(); const now = new Date();
const hours = date.getHours().toString().padStart(2, '0'); const hours = date.getHours().toString();
const minutes = date.getMinutes().toString().padStart(2, '0'); const minutes = date.getMinutes().toString().padStart(2, '0');
if (now.getDate() === date.getDate()) { if (now.getDate() === date.getDate()) {
...@@ -64,7 +64,7 @@ export function displayTime(date: Date): string { ...@@ -64,7 +64,7 @@ export function displayTime(date: Date): string {
const now = new Date(); const now = new Date();
const hours = date.getHours().toString().padStart(2, '0'); const hours = date.getHours().toString();
const minutes = date.getMinutes().toString().padStart(2, '0'); const minutes = date.getMinutes().toString().padStart(2, '0');
if ( if (
...@@ -75,7 +75,7 @@ export function displayTime(date: Date): string { ...@@ -75,7 +75,7 @@ export function displayTime(date: Date): string {
return hours + ':' + minutes; return hours + ':' + minutes;
} }
const day = date.getDate().toString().padStart(2, '0'); const day = date.getDate().toString();
const month = getFullMonth(date.getMonth()); const month = getFullMonth(date.getMonth());
if (now.getFullYear() === date.getFullYear()) { if (now.getFullYear() === date.getFullYear()) {
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter