]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
sq_AL: Use the correct date and time formats (bug 10496, 23724).
authorRafal Luzynski <digitalfreak@lingonborough.com>
Mon, 8 Oct 2018 23:15:33 +0000 (01:15 +0200)
committerRafal Luzynski <digitalfreak@lingonborough.com>
Fri, 28 Dec 2018 20:45:27 +0000 (21:45 +0100)
Albanian locale uses the 12-hour clock but some time formats did not
use any AM/PM indicator making the time ambiguous.  This commit adds
"%p" wherever it was missing.

It also sets the correct date format because the old "%Y-%b-%d" produced
rather weird results like "2018-Sht-28".

All time formats come from CLDR but as few changes have been introduced
by this commit as possible.  Some articles from MSDN and other available
online sources have been also taken into account.

[BZ #10496]
[BZ #23724]
* localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
(t_fmt_ampm): Likewise.
(d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
(date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
(d_fmt): Set to "%-d.%-m.%y".

ChangeLog
localedata/locales/sq_AL

index 86d978c06d31dd497121f5bd71d0fe7bc018365f..2693fb2c720a5eb667b56053be31ef7fffa7ab14 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2018-12-28  Rafal Luzynski  <digitalfreak@lingonborough.com>
+
+       [BZ #10496]
+       [BZ #23724]
+       * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
+       (t_fmt_ampm): Likewise.
+       (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
+       (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
+       (d_fmt): Set to "%-d.%-m.%y".
+
 2018-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
 
        * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
index b16a459c56f256939a9603cc143034eda542aa33..30b7d8160a644a60899334c885df80ad22fc8c96 100644 (file)
@@ -289,16 +289,19 @@ mon         "janar";/
 am_pm       "PD";"MD"
 %
 % Appropriate date and time representation
-d_t_fmt     "%Y-%b-%d %I.%M.%S.%p %Z"
+d_t_fmt     "%a %-d %b %Y %I:%M:%S.%p"
+%
+% Appropriate date and time representation for date(1)
+date_fmt    "%a %-d %b %Y %I:%M:%S.%p %Z"
 %
 % Appropriate date representation
-d_fmt       "%Y-%b-%d"
+d_fmt       "%-d.%-m.%y"
 %
 % Appropriate time representation
-t_fmt       "%I.%M.%S. %Z"
+t_fmt       "%I:%M:%S.%p %Z"
 %
 % Appropriate 12 h time representation (%r)
-t_fmt_ampm  "%I.%M.%S.%p %Z"
+t_fmt_ampm  "%I:%M:%S.%p %Z"
 week 7;19971130;1
 first_weekday 2
 END LC_TIME