Fix problem with opening-hours: if parse error, apply this correctly
This commit is contained in:
parent
322ce689b8
commit
460155dd8b
1 changed files with 1 additions and 0 deletions
|
@ -264,6 +264,7 @@ export default class SimpleMetaTagger {
|
||||||
return true; // Our job is done, lets unregister!
|
return true; // Our job is done, lets unregister!
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.warn("Error while parsing opening hours of ", tags.id, e);
|
console.warn("Error while parsing opening hours of ", tags.id, e);
|
||||||
|
delete tags._isOpen
|
||||||
tags["_isOpen"] = "parse_error";
|
tags["_isOpen"] = "parse_error";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue