Merge branch 'v1.4' of https://gitlab.com/LeRatierBretonnien/foundryvtt-reve-de-dragon into v1.4
This commit is contained in:
commit
a9056031a6
@ -100,8 +100,8 @@ export class RdDCalendrier extends Application {
|
||||
|
||||
/* -------------------------------------------- */
|
||||
getDateFromIndex(index) {
|
||||
const date = this.getNumericDateFromIndex(index);
|
||||
return date.day + ' ' + date.month;
|
||||
const date = RdDCalendrier.getCalendrier(index ?? this.getCurrentDayIndex());
|
||||
return (date.jour+1) + ' ' + heuresDef[heuresList[date.moisRdD]].label;
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
@ -109,7 +109,7 @@ export class RdDCalendrier extends Application {
|
||||
const dateRdD = RdDCalendrier.getCalendrier(index ?? this.getCurrentDayIndex());
|
||||
return {
|
||||
day: dateRdD.jour + 1,
|
||||
month: heuresDef[heuresList[dateRdD.moisRdD]].label
|
||||
month: heuresList[dateRdD.moisRdD]
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user