Ajout Aiguille Horloge

This commit is contained in:
2023-03-08 22:33:23 +01:00
parent 77cf72a752
commit 0c11013694
6 changed files with 97 additions and 6 deletions

View File

@ -252,6 +252,7 @@ export class RdDTimestamp {
get heure() { return Math.floor(this.indexMinute / RDD_MINUTES_PAR_HEURES) }
get minute() { return this.indexMinute % RDD_MINUTES_PAR_HEURES }
get round() { return ROUNDS_PAR_MINUTE * (this.indexMinute - Math.floor(this.indexMinute)) }
get pourcentageDuJour() { return this.indexMinute / RDD_MINUTES_PAR_JOUR }
formatDate() {
const jour = this.jour + 1;