#151 : permission de supprimer une rencontre depuis la fiche de PJ

This commit is contained in:
2021-02-08 14:15:18 +01:00
parent 43218dd282
commit 54a937c620
6 changed files with 39 additions and 4 deletions

View File

@ -79,7 +79,8 @@ export class RdDCalendrier extends Application {
}
/* -------------------------------------------- */
getDateFromIndex( index ) {
getDateFromIndex( index = undefined ) {
if ( !index) index = this.getCurrentDayIndex();
let month = Math.floor(index / 28);
let day = (index - (month*28)) + 1;
return day+" "+heuresList[month];