forked from public/foundryvtt-reve-de-dragon
		
	Fix: Les dates des potions
restaure le fonctionnement des heures des potions
This commit is contained in:
		| @@ -110,8 +110,8 @@ export class RdDCalendrier extends Application { | |||||||
|  |  | ||||||
|   /* -------------------------------------------- */ |   /* -------------------------------------------- */ | ||||||
|   getDateFromIndex(index) { |   getDateFromIndex(index) { | ||||||
|     const date = this.getNumericDateFromIndex(index); |     const date = RdDCalendrier.getCalendrier(index ?? this.getCurrentDayIndex()); | ||||||
|     return date.day + ' ' + date.month; |     return (date.jour+1) + ' ' + heuresDef[heuresList[date.moisRdD]].label; | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   /* -------------------------------------------- */ |   /* -------------------------------------------- */ | ||||||
| @@ -119,7 +119,7 @@ export class RdDCalendrier extends Application { | |||||||
|     const dateRdD = RdDCalendrier.getCalendrier(index ?? this.getCurrentDayIndex()); |     const dateRdD = RdDCalendrier.getCalendrier(index ?? this.getCurrentDayIndex()); | ||||||
|     return { |     return { | ||||||
|       day: dateRdD.jour + 1, |       day: dateRdD.jour + 1, | ||||||
|       month: heuresDef[heuresList[dateRdD.moisRdD]].label |       month: heuresList[dateRdD.moisRdD] | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user