Opened 4 years ago
Last modified 2 weeks ago
#22258 new defect
opening_hours value: error in plugin but parsed correctly by other evaluation tool
| Reported by: | Multimodaal | Owned by: | boman |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Plugin openinghourseditor | Version: | |
| Keywords: | opening_hours | Cc: |
Description
Hi,
the following value (used to indicate a non-recurring temporal closure) is parsed correctly (as intended) by the opening_hours evaluation tool, but in the plugin it gives an "Error in timeformat"
Value:
open; 2022 Jul 11-2022 Aug 19 closed
Parsed correctly in the opening_hours evaluation tool :
https://openingh.openstreetmap.de/evaluation_tool/?EXP=open%3B%202022%20Jul%2011-2022%20Aug%2019%20closed&lat=52.1568256&lon=4.5285376&mode=0&DATE=1659179400000
Screenshot of the error in this plugin:

Does the error lie in the value or in the plugin?
Thanks for looking at this
Attachments (0)
Change History (2)
comment:1 by , 2 weeks ago
comment:2 by , 2 weeks ago
I see no need to deactivate the plugin. I use it where it works and where not I simply don't care.
I agree that the plugin should produce a better message telling the user that only a limited set of syntax is implemented.



This defect was also mentioned in the wiki recently:
https://wiki.openstreetmap.org/wiki/Talk:Key:opening_hours#Broken_tools
As the plugin fails on the simplest rules like "Mo-Fr" and doesn't seem to be maintained for several years I suggest to deactivate it.