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

            Bug ID: 452805
           Summary: Normalization of "Ma" to "Tu" in Dutch changes Monday
                    to Tuesday
           Product: KOpeningHours
           Version: 22.03.80
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: parser
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

In
https://invent.kde.org/libraries/kopeninghours/-/blob/master/src/lib/openinghourslexer.l#L223
the weekday "Ma" is converted to "Tu" (Tuesday). This works in FR/ES/IT, but in
Dutch (NL) "Ma" is the common abbreviation of "Maandag" = "Monday"

Maybe it is possible to disable this change suggestion, similar to Di and Do?
https://invent.kde.org/libraries/kopeninghours/-/blob/master/src/lib/openinghourslexer.l#L237

(If you wish to add them as well, the weekday abbreviations in Dutch would be:
Ma  => Maandag = Monday
Di  => Dinsdag = Tuesday
Wo / Woe => Woensdag = Wednesday
Do => Donderdag = Thursday
Vr => Vrijdag = Friday
Za => Zaterdag = Saturday
Zo => Zondag = Sunday

Months are:
Jan(uari)
Feb(ruari)
Maa(rt)
Apr(il)
Mei
Jun(i)
Jul(i)
Aug(ustus)
Sep(tember) / Sept(ember)
Okt(ober)
Nov(ember)
Dec(ember)
(Most abbreviations of months are the same as English, except Maa, Mei, Okt)

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

Reply via email to