#131 Commande astro ajoutée

This commit is contained in:
2021-01-16 18:54:07 +01:00
parent b57da28638
commit b172f46539
3 changed files with 24 additions and 4 deletions

View File

@ -84,6 +84,11 @@ export class RdDCalendrier extends Application {
return day+" "+heuresList[month];
}
/* -------------------------------------------- */
getCurrentHeure() {
return heuresList[this.calendrier.heureRdD];
}
/* -------------------------------------------- */
getCurrentDayIndex( ) {
return (this.calendrier.moisRdD * 28) + this.calendrier.jour;
@ -283,7 +288,7 @@ export class RdDCalendrier extends Application {
}
}
else {
ui.notifications.warn(this.data.name + " n'a pas d'heure de naissance, ou elle est incorrecte");
ui.notifications.warn(name + " n'a pas d'heure de naissance, ou elle est incorrecte : " + heureNaissance);
}
return 0;
}