Fix: /astro chateau dormant
This commit is contained in:
parent
23d192fdbb
commit
027a970da5
@ -329,7 +329,7 @@ export class RdDCalendrier extends Application {
|
|||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
findHeure(heure) {
|
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);
|
let parHeureOuLabel = Object.values(heuresDef).filter(it => (it.heure + 1) == heure || Grammar.toLowerCaseNoAccentNoSpace(it.label) == heure);
|
||||||
if (parHeureOuLabel.length == 1) {
|
if (parHeureOuLabel.length == 1) {
|
||||||
return parHeureOuLabel[0];
|
return parHeureOuLabel[0];
|
||||||
|
Loading…
Reference in New Issue
Block a user