Modify ↓
Opened 5 years ago
Closed 5 years ago
#20582 closed enhancement (invalid)
Conditional warning around midnight
| Reported by: | anonymous | Owned by: | team |
|---|---|---|---|
| Priority: | trivial | Milestone: | |
| Component: | Core validator | Version: | |
| Keywords: | opening_hours | Cc: |
Description
motor_vehicle:conditional=no @ (Fr-Sa 20:00-00:00, Sa-Su 00:00-04:00)
This triggers a warning in JOSM -- this seems to assume that 00:00 is earlier than 20:00.
Validator needs to cope with restrictions ending at midnight? Ideally cope with restrictions overlapping midnight?
Attachments (0)
Change History (1)
comment:1 by , 5 years ago
| Keywords: | opening_hours added |
|---|---|
| Resolution: | → invalid |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



No, validator is correct. There is a difference between
00:00and24:00. The first is the start of the day and the second the end.Try:
motor_vehicle:conditional=no @ (Fr-Sa 20:00-24:00, Sa-Su 00:00-04:00)