Modify ↓
#22074 closed enhancement (fixed)
[Patch] Make opening hours parsing more lenient in strict mode
| Reported by: | SimonPoole | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | 22.05 |
| Component: | Core | Version: | |
| Keywords: | opening_hours | Cc: |
Description
See the attached patch.
Attachments (2)
Change History (8)
by , 4 years ago
| Attachment: | 0001-Disable-time-strict-mode.patch added |
|---|
comment:1 by , 4 years ago
by , 4 years ago
| Attachment: | 22074.patch added |
|---|
Add advanced preference setting to enable/disable lenient mode
comment:2 by , 4 years ago
| Keywords: | opening_hours added |
|---|---|
| Summary: | Make opening hours parsing more lienent in strict mode → Make opening hours parsing more lenient in strict mode |
comment:3 by , 4 years ago
| Summary: | Make opening hours parsing more lenient in strict mode → [Patch] Make opening hours parsing more lenient in strict mode |
|---|
comment:4 by , 4 years ago
There is already a preference for strict / non-strict mode overall, I don't see much value in adding a further pref for a sub-variant of the strict mode. In particular, depending on feedback, the option might go away in a future version in any case.
comment:6 by , 3 years ago
| Milestone: | → 22.05 |
|---|
Note:
See TracTickets
for help on using tickets.



Stupid question:
Can you think of any reason to pass
truein toOpeningHoursParser#rules(boolean, boolean)?If so, I'd prefer to have a preference setting that users can override.