[Libreoffice-bugs] [Bug 137009] Default time format for French locales in African countries is wrong

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Sep 25 19:04:43 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=137009

Julien Nabet <serval2412 at yahoo.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEEDINFO

--- Comment #2 from Julien Nabet <serval2412 at yahoo.fr> ---
Code pointer: 
Benin, Mali, Niger, Senegal and Togo refer to Burkina Faso file:
./i18npool/source/localedata/data/fr_BF.xml

Also, is it the same for short format (I mean without seconds), it should be
13:37 instead of 01:37 PM

In this case, I think this patch should help:
diff --git a/i18npool/source/localedata/data/fr_BF.xml
b/i18npool/source/localedata/data/fr_BF.xml
index 72ccc852f0da..7f4661b8edb4 100644
--- a/i18npool/source/localedata/data/fr_BF.xml
+++ b/i18npool/source/localedata/data/fr_BF.xml
@@ -162,16 +162,16 @@
     <FormatElement msgid="DateFormatskey9" default="false" type="medium"
usage="DATE" formatindex="38">
       <FormatCode>WW</FormatCode>
     </FormatElement>
-    <FormatElement msgid="TimeFormatskey1" default="false" type="short"
usage="TIME" formatindex="39">
+    <FormatElement msgid="TimeFormatskey1" default="true" type="short"
usage="TIME" formatindex="39">
       <FormatCode>HH:MM</FormatCode>
     </FormatElement>
-    <FormatElement msgid="TimeFormatskey2" default="false" type="medium"
usage="TIME" formatindex="40">
+    <FormatElement msgid="TimeFormatskey2" default="true" type="medium"
usage="TIME" formatindex="40">
       <FormatCode>HH:MM:SS</FormatCode>
     </FormatElement>
-    <FormatElement msgid="TimeFormatskey3" default="true" type="short"
usage="TIME" formatindex="41">
+    <FormatElement msgid="TimeFormatskey3" default="false" type="short"
usage="TIME" formatindex="41">
       <FormatCode>HH:MM AM/PM</FormatCode>
     </FormatElement>
-    <FormatElement msgid="TimeFormatskey4" default="true" type="medium"
usage="TIME" formatindex="42">
+    <FormatElement msgid="TimeFormatskey4" default="false" type="medium"
usage="TIME" formatindex="42">
       <FormatCode>HH:MM:SS AM/PM</FormatCode>
     </FormatElement>
     <FormatElement msgid="TimeFormatskey5" default="false" type="medium"
usage="TIME" formatindex="43">

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200925/87253498/attachment.htm>


More information about the Libreoffice-bugs mailing list