This is the mail archive of the libc-locales@sourceware.org mailing list for the GNU libc locales project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH][BZ18918] hu_HU: change time separator to colon


Hi,

Could you please review and apply the tiny patch at the end of the mail?

Recommended commit message body (feel free to change this and/or the
ChangeLog entry as you desire):
-----
Change the hour-minute-second separator from dot to colon,
as the new official rules of Hungarian orthography allows using colon
which is used more frequently in the digital world than dot.

    [BZ #18918]
    * locales/hu_HU: Change time separator to colon.
-----

Additional details, copied from the bugreport:

The previous (11th) version of the Hungarian spelling rules (released
in 1984) said that the separator had to be a dot, e.g. 10.35 meaning
10 o'clock 35 minutes. glibc correctly implements this.

The brand new (12th) version, in effect since September 1, 2015 adopts
to the common use of colon (especially in the digital world) and
allows to use either separator, without even expressing a preference.

For computer systems, using colons is way more typical and probably
easier to recognize. Dot is typically used in printed materials.

It also avoids an almost ambiguous situation where a space makes a
difference, e.g. "10.15-ig" means "until 10 o'clock 15 minutes"
whereas "10. 15-ig" means "until 15th of October". So I believe using
the colon as the separator is not only more frequent in the computer
world, but is also easier and quicker to recognize for the brain that
it's about hour:minute rather than month and day. And luckily it's now
equally correct according to the official rules.

11th edition: http://helyesiras.mta.hu/helyesiras/default/akh11

12th edition: http://helyesiras.mta.hu/helyesiras/default/akh12

In both editions it's the very last (299th and 300th, respectively) rule.

Thanks,
egmont

Should you have trouble with the inlined patch, the exact same patch
is attached to bugzilla as well.

diff --git a/localedata/ChangeLog b/localedata/ChangeLog
index cebbf01..5bcb822 100644
--- a/localedata/ChangeLog
+++ b/localedata/ChangeLog
@@ -1,3 +1,8 @@
+2015-09-03  Egmont Koblinger  <egmont@gmail.com>
+
+    [BZ #18918]
+    * locales/hu_HU: Change time separator to colon.
+
 2015-08-18  Marko Myllynen  <myllynen@redhat.com>

     [BZ #16973]
diff --git a/localedata/locales/hu_HU b/localedata/locales/hu_HU
index 407d373..0a8a17c 100644
--- a/localedata/locales/hu_HU
+++ b/localedata/locales/hu_HU
@@ -15,7 +15,7 @@ escape_char  /
 % - made all days abbreviations same lenght by appending spaces
 % Email: srtxg@chanae.alphanet.ch
 %
-% Further changes by Egmont Koblinger, 2002/Jan/06, 2012/Jan/03
+% Further changes by Egmont Koblinger, 2002/Jan/06, 2012/Jan/03, 2015/Sep/03
 % - fixed tons of remaining bugs in alphabetical order
 % - turned month names and similar stuff to lowercase
 % - other small bugfixes
@@ -541,13 +541,13 @@ mon     "<U006A><U0061><U006E><U0075><U00E1><U0072>";/
         "<U006E><U006F><U0076><U0065><U006D><U0062><U0065><U0072>";/
         "<U0064><U0065><U0063><U0065><U006D><U0062><U0065><U0072>"
 d_t_fmt "<U0025><U0059><U002E><U0020><U0025><U0062><U002E><U0020><U0025><U0065><U002E><U002C>/
-<U0020><U0025><U0041><U002C><U0020><U0025><U0048><U002E><U0025><U004D><U002E><U0025><U0053><U0020><U0025><U005A>"
+<U0020><U0025><U0041><U002C><U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020><U0025><U005A>"
 d_fmt   "<U0025><U0059><U002D><U0025><U006D><U002D><U0025><U0064>"
-t_fmt   "<U0025><U0048><U002E><U0025><U004D><U002E><U0025><U0053>"
+t_fmt   "<U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053>"
 am_pm   "";""
-t_fmt_ampm "<U0025><U0048><U002E><U0025><U004D><U002E><U0025><U0053>"
+t_fmt_ampm "<U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053>"
 date_fmt "<U0025><U0059><U002E><U0020><U0025><U0062><U002E><U0020><U0025><U0065><U002E><U002C>/
-<U0020><U0025><U0041><U002C><U0020><U0025><U0048><U002E><U0025><U004D><U002E><U0025><U0053><U0020><U0025><U005A>"
+<U0020><U0025><U0041><U002C><U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020><U0025><U005A>"
 week     7;19971130;4
 first_weekday    2
 first_workday    2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]