| Summary: | Do not add month to every date | ||
|---|---|---|---|
| Product: | [Applications] KOpeningHours | Reporter: | HubMiner <cal030> |
| Component: | normalization | Assignee: | David Faure <faure> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Other | ||
| Latest Commit: | https://invent.kde.org/libraries/kopeninghours/commit/95f816ef64a74db4f47df07e53893c4d9d4ed304 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
HubMiner
2021-11-29 03:35:28 UTC
Hmm, I thought I remembered this was "as per the spec", but a quick look says "daily: months [ monthdays [ , monthdays ]... ]" which would indeed allow this. And https://openingh.openstreetmap.de/evaluation_tool/?setLng=fr#check doesn't warn either. Then it's just about simplification of the output, should be easy. A possibly relevant merge request was started @ https://invent.kde.org/libraries/kopeninghours/-/merge_requests/84 Git commit 95f816ef64a74db4f47df07e53893c4d9d4ed304 by David Faure. Committed on 05/12/2021 at 11:04. Pushed by dfaure into branch 'release/21.12'. Do not repeat months when unnecessary M +14 -12 autotests/parsertest.cpp M +1 -1 src/lib/rule.cpp M +17 -11 src/lib/selectors.cpp M +4 -2 src/lib/selectors_p.h https://invent.kde.org/libraries/kopeninghours/commit/95f816ef64a74db4f47df07e53893c4d9d4ed304 |