Modify

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:
https://i.postimg.cc/d0dDDPKW/Schermafbeelding-2022-07-30-131736.jpg

Does the error lie in the value or in the plugin?
Thanks for looking at this

Attachments (0)

Change History (2)

comment:1 by mueschel, 2 weeks ago

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.

comment:2 by GerdP, 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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain boman.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from boman to the specified user.
Next status will be 'needinfo'. The owner will be changed from boman to Multimodaal.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from boman to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.