Modify

Opened 17 months ago

Last modified 3 months ago

#20316 new defect

Opening_hours: Does not like `PH +1 day PH`

Reported by: skyper Owned by: team
Priority: normal Milestone:
Component: Core validator Version: latest
Keywords: template_report opening_hours Cc:

Description (last modified by skyper)

What steps will reproduce the problem?

  1. Have an object with opening_hours=PH +1 day PH,Su 00:00-00:14,23:06-23:30
  2. Run validator

What is the expected result?

No warning

What happens instead?

Warning:

Opening hours syntax - Encountered:  <HOLIDAYS> "PH " at line 1, column 7
Was expecting: <EOF>

Please provide any additional information below. Attach a screenshot if possible.

I run validator in strict mode.
openinh.osm.de has not problem with this expression.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-12-27 20:15:27 +0100 (Sun, 27 Dec 2020)
Revision:17426
Build-Date:2020-12-28 02:30:52
URL:https://josm.openstreetmap.de/svn/trunk

Attachments (0)

Change History (2)

comment:1 Changed 17 months ago by skyper

Description: modified (diff)
Summary: Opening_hours: Does not like `PH +1 day`Opening_hours: Does not like `PH +1 day PH`

comment:2 Changed 3 months ago by skyper

Strange, PH +1 day Su,PH 00:00-00:14,23:06-23:30 is accepted but PH +1 day PH 00:00-00:14,23:06-23:30 not.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to skyper
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.