Bug 2473 - please add am_pm formatting information to en_NZ
Summary: please add am_pm formatting information to en_NZ
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: localedata (show other bugs)
Version: 2.3.6
: P2 normal
Target Milestone: ---
Assignee: GNU C Library Locale Maintainers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-21 05:25 UTC by jrm+sourcesbugs
Modified: 2018-04-19 13:44 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jrm+sourcesbugs 2006-03-21 05:25:34 UTC
Hi,
the New Zealand locale file /usr/share/i18n/locales/en_NZ is missing
strings for "am" and "pm". These should be the same as those in the
en_AU (Australia) locale file. (Also, the en_GB file is missing these
too, and I assume they should also be the same.)

Thanks


--- en_NZ-      2006-03-02 15:15:39.000000000 +1300
+++ en_NZ       2006-03-02 15:15:39.000000000 +1300
@@ -111,8 +111,9 @@
 d_t_fmt    
"<U0025><U0061><U0020><U0025><U0064><U0020><U0025><U0062><U0020><U0025><U0059><U0020><U0025><U0054><U0020><U0025><U005A>"
 d_fmt       "<U0025><U0064><U002F><U0025><U006D><U002F><U0025><U0079>"
 t_fmt       "<U0025><U0054>"
-am_pm       "";""
-t_fmt_ampm  ""
+am_pm       "<U0041><U004D>";"<U0050><U004D>"
+t_fmt_ampm  "<U0025><U0049><U003A><U0025><U004D><U003A><U0025><U0053><U0020>/
+<U0025><U0070>"
 date_fmt       "<U0025><U0061><U0020><U0025><U0062><U0020><U0025><U0065>/
 <U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020>/
 <U0025><U005A><U0020><U0025><U0059>"
Comment 1 Ulrich Drepper 2006-04-25 20:47:05 UTC
You have to provide evidence that am/pm is actually used.  If the am/pm format
isn't officially required and only just understood there is no reason to add it.
 Pointers to official web sites etc needed.
Comment 2 jrm@wlug.org.nz 2006-04-27 03:23:51 UTC
Subject: Re:  please add am_pm formatting information to en_NZ

On Tue, Apr 25, 2006 at 08:47:05PM -0000, drepper at redhat dot com wrote:
> 
> ------- Additional Comments From drepper at redhat dot com  2006-04-25 20:47 -------
> You have to provide evidence that am/pm is actually used.  If the am/pm format
> isn't officially required and only just understood there is no reason to add it.
>  Pointers to official web sites etc needed.

At the very least, the gnome clock applet uses it.
https://launchpad.net/distros/ubuntu/+source/langpack-locales/+bug/34262

John
Comment 3 Matt Brown 2006-04-27 04:34:05 UTC
Hi Ulrich, 

New Zealand Standard Time and New Zealand Daylight Time are defined in the New
Zealand Time Act of 1974. 

This act uses the am/pm designation to define the start and end of the Daylight
Savings time period each year. 

I guess you could call that official use :)

The text of the Act can be found at:
http://rangi.knowledge-basket.co.nz/gpacts/reprint/text/1974/se/039se4.html

The reference to am/pm in relation to daylight savings time is in Section 4(2)
Comment 4 Ulrich Drepper 2006-08-24 06:33:20 UTC
I looked up some newspaper myself and they seem to confirm it.  I changed the
locale.