public inbox for libc-locales@sourceware.org
 help / color / mirror / Atom feed
* [Bug localedata/12731] New: en_CA date-time format doesn't respect CAN/CSA-Z234.4 - ISO 8601
@ 2011-05-05  6:19 alexandre.f.demers at gmail dot com
  2011-05-06  4:58 ` [Bug localedata/12731] [PATCH] " alexandre.f.demers at gmail dot com
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: alexandre.f.demers at gmail dot com @ 2011-05-05  6:19 UTC (permalink / raw)
  To: libc-locales

http://sourceware.org/bugzilla/show_bug.cgi?id=12731

           Summary: en_CA date-time format doesn't respect CAN/CSA-Z234.4
                    - ISO 8601
           Product: glibc
           Version: 2.13
            Status: NEW
          Severity: normal
          Priority: P2
         Component: localedata
        AssignedTo: libc-locales@sources.redhat.com
        ReportedBy: alexandre.f.demers@gmail.com


Created attachment 5703
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5703
Patch to follow the CSA - ISO

According to the SCC, the date and time format should follow CAN/CSA-Z234.4
which is compatible with ISO 8601. In particular, hours should be in a 24 hour
format instead of a 12 hour format and year should be made of 4 digits.
Proposing a patch in attachment.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug localedata/12731] [PATCH] en_CA date-time format doesn't respect CAN/CSA-Z234.4 - ISO 8601
  2011-05-05  6:19 [Bug localedata/12731] New: en_CA date-time format doesn't respect CAN/CSA-Z234.4 - ISO 8601 alexandre.f.demers at gmail dot com
@ 2011-05-06  4:58 ` alexandre.f.demers at gmail dot com
  2011-05-09 13:36 ` drepper.fsp at gmail dot com
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: alexandre.f.demers at gmail dot com @ 2011-05-06  4:58 UTC (permalink / raw)
  To: libc-locales

http://sourceware.org/bugzilla/show_bug.cgi?id=12731

Alexandre Demers <alexandre.f.demers at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|en_CA date-time format      |[PATCH] en_CA date-time
                   |doesn't respect             |format doesn't respect
                   |CAN/CSA-Z234.4 - ISO 8601   |CAN/CSA-Z234.4 - ISO 8601

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug localedata/12731] [PATCH] en_CA date-time format doesn't respect CAN/CSA-Z234.4 - ISO 8601
  2011-05-05  6:19 [Bug localedata/12731] New: en_CA date-time format doesn't respect CAN/CSA-Z234.4 - ISO 8601 alexandre.f.demers at gmail dot com
  2011-05-06  4:58 ` [Bug localedata/12731] [PATCH] " alexandre.f.demers at gmail dot com
@ 2011-05-09 13:36 ` drepper.fsp at gmail dot com
  2011-05-09 16:33 ` alexandre.f.demers at gmail dot com
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: drepper.fsp at gmail dot com @ 2011-05-09 13:36 UTC (permalink / raw)
  To: libc-locales

http://sourceware.org/bugzilla/show_bug.cgi?id=12731

Ulrich Drepper <drepper.fsp at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |drepper.fsp at gmail dot
                   |                            |com
         Resolution|                            |WONTFIX

--- Comment #1 from Ulrich Drepper <drepper.fsp at gmail dot com> 2011-05-09 13:17:58 UTC ---
It is not the "standard" format that is used.  Almost everywhere in the world
ISO 8601 is a standard.  But it is not the format people expect and that is
what locales are about.  Programs and scripts can easy use ISO 8601 where
wanted.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug localedata/12731] [PATCH] en_CA date-time format doesn't respect CAN/CSA-Z234.4 - ISO 8601
  2011-05-05  6:19 [Bug localedata/12731] New: en_CA date-time format doesn't respect CAN/CSA-Z234.4 - ISO 8601 alexandre.f.demers at gmail dot com
  2011-05-06  4:58 ` [Bug localedata/12731] [PATCH] " alexandre.f.demers at gmail dot com
  2011-05-09 13:36 ` drepper.fsp at gmail dot com
@ 2011-05-09 16:33 ` alexandre.f.demers at gmail dot com
  2011-05-09 18:10 ` alexandre.f.demers at gmail dot com
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: alexandre.f.demers at gmail dot com @ 2011-05-09 16:33 UTC (permalink / raw)
  To: libc-locales

http://sourceware.org/bugzilla/show_bug.cgi?id=12731

Alexandre Demers <alexandre.f.demers at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WONTFIX                     |

--- Comment #2 from Alexandre Demers <alexandre.f.demers at gmail dot com> 2011-05-09 16:29:03 UTC ---
According to National Research Council Canada (NRC) and to Standard Council of
Canada (SCC), the standard for date time format in Canada has to follow
CAN/CSA-Z234.4 which says mostly the same as ISO 8601. Have a look at the
official site (http://www.nrc-cnrc.gc.ca/eng/ibp/inms/about/faq-time.html#Q8):

"Canadian Standard CAN Z234-4 specifies numeric representations of date and
time. The recommended full format is of the form 2001-12-31 23:59:28.73 UTC. It
is compatible with International Standard ISO 8601."

This means this is the format people are (should be) expecting. Thus, the
current locale file is incorrect and the patch should be applied. Without the
patch, the en_CA locale follows the US standard, which is one of the none
official way of writting the date time format here (we use three different ways
to write date time, but only one is official and should be used).

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug localedata/12731] [PATCH] en_CA date-time format doesn't respect CAN/CSA-Z234.4 - ISO 8601
  2011-05-05  6:19 [Bug localedata/12731] New: en_CA date-time format doesn't respect CAN/CSA-Z234.4 - ISO 8601 alexandre.f.demers at gmail dot com
                   ` (2 preceding siblings ...)
  2011-05-09 16:33 ` alexandre.f.demers at gmail dot com
@ 2011-05-09 18:10 ` alexandre.f.demers at gmail dot com
  2011-05-10 21:42 ` alexandre.f.demers at gmail dot com
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: alexandre.f.demers at gmail dot com @ 2011-05-09 18:10 UTC (permalink / raw)
  To: libc-locales

http://sourceware.org/bugzilla/show_bug.cgi?id=12731

--- Comment #3 from Alexandre Demers <alexandre.f.demers at gmail dot com> 2011-05-09 18:06:27 UTC ---
As a follow up, Ubuntu bug filed in 2010 about this problem:
https://bugs.launchpad.net/ubuntu/+source/langpack-locales/+bug/517397

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug localedata/12731] [PATCH] en_CA date-time format doesn't respect CAN/CSA-Z234.4 - ISO 8601
  2011-05-05  6:19 [Bug localedata/12731] New: en_CA date-time format doesn't respect CAN/CSA-Z234.4 - ISO 8601 alexandre.f.demers at gmail dot com
                   ` (3 preceding siblings ...)
  2011-05-09 18:10 ` alexandre.f.demers at gmail dot com
@ 2011-05-10 21:42 ` alexandre.f.demers at gmail dot com
  2014-06-27 13:37 ` fweimer at redhat dot com
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: alexandre.f.demers at gmail dot com @ 2011-05-10 21:42 UTC (permalink / raw)
  To: libc-locales

http://sourceware.org/bugzilla/show_bug.cgi?id=12731

--- Comment #5 from Alexandre Demers <alexandre.f.demers at gmail dot com> 2011-05-10 21:23:01 UTC ---
I do understand your point and I respect it. I usually change the format to ISO
8601 in my applications when it's possible. I also agree that if this is the
format people are expecting, it should also stay as it is. Googling the
question shows very different answers. Wikipedia says the format is used in
Canada along with others (http://en.wikipedia.org/wiki/Calendar_date). It's
true that I come from Quebec, where we use a lot more the ISO format/official
canadian sources, so I must be biased and that must explain why I usually see a
different format than the one in en_CA even if I'm living with, writing to and
working with english people here.

Cheers,
Alex

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug localedata/12731] [PATCH] en_CA date-time format doesn't respect CAN/CSA-Z234.4 - ISO 8601
  2011-05-05  6:19 [Bug localedata/12731] New: en_CA date-time format doesn't respect CAN/CSA-Z234.4 - ISO 8601 alexandre.f.demers at gmail dot com
                   ` (4 preceding siblings ...)
  2011-05-10 21:42 ` alexandre.f.demers at gmail dot com
@ 2014-06-27 13:37 ` fweimer at redhat dot com
  2016-02-04 13:57 ` fweimer at redhat dot com
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: fweimer at redhat dot com @ 2014-06-27 13:37 UTC (permalink / raw)
  To: libc-locales

https://sourceware.org/bugzilla/show_bug.cgi?id=12731

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug localedata/12731] [PATCH] en_CA date-time format doesn't respect CAN/CSA-Z234.4 - ISO 8601
  2011-05-05  6:19 [Bug localedata/12731] New: en_CA date-time format doesn't respect CAN/CSA-Z234.4 - ISO 8601 alexandre.f.demers at gmail dot com
                   ` (6 preceding siblings ...)
  2016-02-04 13:57 ` fweimer at redhat dot com
@ 2016-02-04 13:57 ` fweimer at redhat dot com
  2016-02-04 13:58 ` fweimer at redhat dot com
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: fweimer at redhat dot com @ 2016-02-04 13:57 UTC (permalink / raw)
  To: libc-locales

https://sourceware.org/bugzilla/show_bug.cgi?id=12731

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |fweimer at redhat dot com
         Resolution|WONTFIX                     |---

--- Comment #6 from Florian Weimer <fweimer at redhat dot com> ---
The Canadian government uses %Y-%m-%d as the short date format at least, unlike
many other governments who claim to have adopted ISO 8601.

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug localedata/12731] [PATCH] en_CA date-time format doesn't respect CAN/CSA-Z234.4 - ISO 8601
  2011-05-05  6:19 [Bug localedata/12731] New: en_CA date-time format doesn't respect CAN/CSA-Z234.4 - ISO 8601 alexandre.f.demers at gmail dot com
                   ` (5 preceding siblings ...)
  2014-06-27 13:37 ` fweimer at redhat dot com
@ 2016-02-04 13:57 ` fweimer at redhat dot com
  2016-02-04 13:57 ` fweimer at redhat dot com
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: fweimer at redhat dot com @ 2016-02-04 13:57 UTC (permalink / raw)
  To: libc-locales

https://sourceware.org/bugzilla/show_bug.cgi?id=12731
Bug 12731 depends on bug 4628, which changed state.

Bug 4628 Summary: Provide rump locales with ISO 8601 variants for use with LC_TIME
https://sourceware.org/bugzilla/show_bug.cgi?id=4628

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WONTFIX                     |---

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug localedata/12731] [PATCH] en_CA date-time format doesn't respect CAN/CSA-Z234.4 - ISO 8601
  2011-05-05  6:19 [Bug localedata/12731] New: en_CA date-time format doesn't respect CAN/CSA-Z234.4 - ISO 8601 alexandre.f.demers at gmail dot com
                   ` (7 preceding siblings ...)
  2016-02-04 13:57 ` fweimer at redhat dot com
@ 2016-02-04 13:58 ` fweimer at redhat dot com
  2016-02-19 10:50 ` [Bug localedata/12731] en_CA: " vapier at gentoo dot org
  2016-05-20 13:53 ` carlos at redhat dot com
  10 siblings, 0 replies; 12+ messages in thread
From: fweimer at redhat dot com @ 2016-02-04 13:58 UTC (permalink / raw)
  To: libc-locales

https://sourceware.org/bugzilla/show_bug.cgi?id=12731

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |4628


Referenced Bugs:

https://sourceware.org/bugzilla/show_bug.cgi?id=4628
[Bug 4628] Provide rump locales with ISO 8601 variants for use with LC_TIME
-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug localedata/12731] en_CA: date-time format doesn't respect CAN/CSA-Z234.4 - ISO 8601
  2011-05-05  6:19 [Bug localedata/12731] New: en_CA date-time format doesn't respect CAN/CSA-Z234.4 - ISO 8601 alexandre.f.demers at gmail dot com
                   ` (8 preceding siblings ...)
  2016-02-04 13:58 ` fweimer at redhat dot com
@ 2016-02-19 10:50 ` vapier at gentoo dot org
  2016-05-20 13:53 ` carlos at redhat dot com
  10 siblings, 0 replies; 12+ messages in thread
From: vapier at gentoo dot org @ 2016-02-19 10:50 UTC (permalink / raw)
  To: libc-locales

https://sourceware.org/bugzilla/show_bug.cgi?id=12731

Mike Frysinger <vapier at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[PATCH] en_CA date-time     |en_CA: date-time format
                   |format doesn't respect      |doesn't respect
                   |CAN/CSA-Z234.4 - ISO 8601   |CAN/CSA-Z234.4 - ISO 8601

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug localedata/12731] en_CA: date-time format doesn't respect CAN/CSA-Z234.4 - ISO 8601
  2011-05-05  6:19 [Bug localedata/12731] New: en_CA date-time format doesn't respect CAN/CSA-Z234.4 - ISO 8601 alexandre.f.demers at gmail dot com
                   ` (9 preceding siblings ...)
  2016-02-19 10:50 ` [Bug localedata/12731] en_CA: " vapier at gentoo dot org
@ 2016-05-20 13:53 ` carlos at redhat dot com
  10 siblings, 0 replies; 12+ messages in thread
From: carlos at redhat dot com @ 2016-05-20 13:53 UTC (permalink / raw)
  To: libc-locales

https://sourceware.org/bugzilla/show_bug.cgi?id=12731

Carlos O'Donell <carlos at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |carlos at redhat dot com

--- Comment #7 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to Alexandre Demers from comment #2)
> According to National Research Council Canada (NRC) and to Standard Council
> of Canada (SCC), the standard for date time format in Canada has to follow
> CAN/CSA-Z234.4 which says mostly the same as ISO 8601. Have a look at the
> official site
> (http://www.nrc-cnrc.gc.ca/eng/ibp/inms/about/faq-time.html#Q8):
> 
> "Canadian Standard CAN Z234-4 specifies numeric representations of date and
> time. The recommended full format is of the form 2001-12-31 23:59:28.73 UTC.
> It is compatible with International Standard ISO 8601."
> 
> This means this is the format people are (should be) expecting. Thus, the
> current locale file is incorrect and the patch should be applied. Without
> the patch, the en_CA locale follows the US standard, which is one of the
> none official way of writting the date time format here (we use three
> different ways to write date time, but only one is official and should be
> used).

As a participating member of SCC's CAC/JTC1/SC22 my perspective is that while
the standard is fine for Government use, the en_CA locale is intended for
colloquial use. If you have government uses then you need to create your own
locale.

I believe we will solve this with a C.UTF-8@ISO8601 locale that follows the ISO
8601 time standard and can be used for LC_TIME to replace the current locales
time.

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2016-05-20 13:53 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-05  6:19 [Bug localedata/12731] New: en_CA date-time format doesn't respect CAN/CSA-Z234.4 - ISO 8601 alexandre.f.demers at gmail dot com
2011-05-06  4:58 ` [Bug localedata/12731] [PATCH] " alexandre.f.demers at gmail dot com
2011-05-09 13:36 ` drepper.fsp at gmail dot com
2011-05-09 16:33 ` alexandre.f.demers at gmail dot com
2011-05-09 18:10 ` alexandre.f.demers at gmail dot com
2011-05-10 21:42 ` alexandre.f.demers at gmail dot com
2014-06-27 13:37 ` fweimer at redhat dot com
2016-02-04 13:57 ` fweimer at redhat dot com
2016-02-04 13:57 ` fweimer at redhat dot com
2016-02-04 13:58 ` fweimer at redhat dot com
2016-02-19 10:50 ` [Bug localedata/12731] en_CA: " vapier at gentoo dot org
2016-05-20 13:53 ` carlos at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).