Fix: /astro chateau dormant

This commit is contained in:
Vincent Vandemeulebrouck 2021-06-08 14:49:32 +02:00
parent 03690ba8e1
commit 88e265e979

View File

@ -329,7 +329,7 @@ export class RdDCalendrier extends Application {
/* -------------------------------------------- */
findHeure(heure) {
heure = Grammar.toLowerCaseNoAccent(heure);
heure = Grammar.toLowerCaseNoAccentNoSpace(heure);
let parHeureOuLabel = Object.values(heuresDef).filter(it => (it.heure + 1) == heure || Grammar.toLowerCaseNoAccentNoSpace(it.label) == heure);
if (parHeureOuLabel.length == 1) {
return parHeureOuLabel[0];