https://bugs.kde.org/show_bug.cgi?id=446137

Volker Krause <vkra...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/libr
                   |                            |aries/kopeninghours/commit/
                   |                            |024831289df89c2282637eea7bf
                   |                            |e774286b20b22
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Volker Krause <vkra...@kde.org> ---
Git commit 024831289df89c2282637eea7bfe774286b20b22 by Volker Krause.
Committed on 05/12/2021 at 10:32.
Pushed by vkrause into branch 'release/21.12'.

Support 4 digit times to the extend possible

The problem with 4 digit times is the ambiguity with year numbers. To solve
this we now assume anything that would be a valid time outside of the
[2001-2099] range to be a time. That leaves all practically relevant years
valid and still covers the vast majority of 4 digit times found in the OSM
corpus.

This is worth it given how common the 4 digit time mistake is in OSM data.

M  +2    -2    autotests/evaluatetest.cpp
M  +5    -1    autotests/parsertest.cpp
M  +12   -6    src/lib/openinghourslexer.l
M  +4    -0    src/lib/openinghoursparser.y

https://invent.kde.org/libraries/kopeninghours/commit/024831289df89c2282637eea7bfe774286b20b22

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to