https://bugs.kde.org/show_bug.cgi?id=452236
Bug ID: 452236
Summary: normalizeExpression output on monthday_range is
simplified
Product: KOpeningHours
Version: 21.12.3
Platform: unspecified
OS: All
Status: REPORTED
Severity: normal
Priority: NOR
Component: normalization
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
>From https://github.com/osm-fr/osmose-backend/pull/1424#issuecomment-1086725579
STEPS TO REPRODUCE
1. call normalizedExpression() on "2099 May 22-2099 Oct 07"
OBSERVED RESULT
normalizedExpression() produces "2099 May 22-Oct 07"
EXPECTED RESULT
No change for normalizedExpression, i.e. output equals input
Per
https://wiki.openstreetmap.org/wiki/Key:opening_hours/specification#selector:month
,
<monthday_range> gives <date_from> [ <date_offset> ] - <date_to> [
<date_offset> ],
<date_from> and <date_to> are defined as (a.o.) [ <year> ] <month> <daynum>
Unrelated, but for simplifiedExpression() the output is expected to be
simplified to 2099 May 22-Oct 07
--
You are receiving this mail because:
You are watching all bug changes.