From 460155dd8b9bed6ca9e4cba4e2aec033a1b53534 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Thu, 14 Oct 2021 14:35:04 +0200 Subject: [PATCH] Fix problem with opening-hours: if parse error, apply this correctly --- Logic/SimpleMetaTagger.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/Logic/SimpleMetaTagger.ts b/Logic/SimpleMetaTagger.ts index b0e4d50bf..6c9c7e9b7 100644 --- a/Logic/SimpleMetaTagger.ts +++ b/Logic/SimpleMetaTagger.ts @@ -264,6 +264,7 @@ export default class SimpleMetaTagger { return true; // Our job is done, lets unregister! } catch (e) { console.warn("Error while parsing opening hours of ", tags.id, e); + delete tags._isOpen tags["_isOpen"] = "parse_error"; }