From 460155dd8b9bed6ca9e4cba4e2aec033a1b53534 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Thu, 14 Oct 2021 14:35:04 +0200 Subject: [PATCH 1/2] 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 b0e4d50bfb..6c9c7e9b7b 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"; } From 99ef5f7b7c8c880047c5e0efa893ba946ae172c8 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Thu, 14 Oct 2021 18:30:28 +0200 Subject: [PATCH 2/2] Version number bump --- Models/Constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Models/Constants.ts b/Models/Constants.ts index c79773971a..6a2e43bc35 100644 --- a/Models/Constants.ts +++ b/Models/Constants.ts @@ -2,7 +2,7 @@ import {Utils} from "../Utils"; export default class Constants { - public static vNumber = "0.10.5"; + public static vNumber = "0.10.6"; public static ImgurApiKey = '7070e7167f0a25a' public static readonly mapillary_client_token_v3 = 'TXhLaWthQ1d4RUg0czVxaTVoRjFJZzowNDczNjUzNmIyNTQyYzI2' public static readonly mapillary_client_token_v4 = "MLY|4441509239301885|b40ad2d3ea105435bd40c7e76993ae85"