Bug 446252 - Simplify overly verbose ranges
Summary: Simplify overly verbose ranges
Status: RESOLVED FIXED
Alias: None
Product: KOpeningHours
Classification: Applications
Component: normalization (show other bugs)
Version: unspecified
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-29 19:04 UTC by HubMiner
Modified: 2021-12-05 13:40 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description HubMiner 2021-11-29 19:04:21 UTC
IN:  Mo-Su 10:30-21:00; Feb 1-Feb 29 Mo-Su 10:30-20:30; PH closed
EXPECTED: 10:30-21:00; Feb 10:30-20:30; PH closed
- remove Mo-Su
- remove month days when they cover whole month
Comment 1 David Faure 2021-12-05 13:00:28 UTC
"remove Mo-Su" is bug 445786

"remove month days when they cover whole month" done
Comment 2 Bug Janitor Service 2021-12-05 13:01:36 UTC
A possibly relevant merge request was started @ https://invent.kde.org/libraries/kopeninghours/-/merge_requests/87
Comment 3 David Faure 2021-12-05 13:40:20 UTC
Git commit 405c78dd7121ce169fb89a9f9856a74df2ae69fa by David Faure.
Committed on 05/12/2021 at 12:57.
Pushed by dfaure into branch 'release/21.12'.

Simplify "Feb 1-29" to "Feb"

M  +3    -0    autotests/parsertest.cpp
M  +3    -0    src/lib/openinghours.cpp
M  +18   -0    src/lib/selectors.cpp
M  +1    -0    src/lib/selectors_p.h

https://invent.kde.org/libraries/kopeninghours/commit/405c78dd7121ce169fb89a9f9856a74df2ae69fa