public inbox for glibc-bugs@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:05 alexandre.f.demers at gmail dot com
  2011-05-06  4:10 ` [Bug localedata/12731] [PATCH] " alexandre.f.demers at gmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: alexandre.f.demers at gmail dot com @ 2011-05-05  6:05 UTC (permalink / raw)
  To: glibc-bugs

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 on the CC list for the bug.


^ permalink raw reply	[flat|nested] 8+ 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:05 [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:10 ` alexandre.f.demers at gmail dot com
  2011-05-09 13:18 ` drepper.fsp at gmail dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: alexandre.f.demers at gmail dot com @ 2011-05-06  4:10 UTC (permalink / raw)
  To: glibc-bugs

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 on the CC list for the bug.


^ permalink raw reply	[flat|nested] 8+ 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:05 [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:10 ` [Bug localedata/12731] [PATCH] " alexandre.f.demers at gmail dot com
@ 2011-05-09 13:18 ` drepper.fsp at gmail dot com
  2011-05-09 16:29 ` alexandre.f.demers at gmail dot com
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: drepper.fsp at gmail dot com @ 2011-05-09 13:18 UTC (permalink / raw)
  To: glibc-bugs

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 on the CC list for the bug.


^ permalink raw reply	[flat|nested] 8+ 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:05 [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:10 ` [Bug localedata/12731] [PATCH] " alexandre.f.demers at gmail dot com
  2011-05-09 13:18 ` drepper.fsp at gmail dot com
@ 2011-05-09 16:29 ` alexandre.f.demers at gmail dot com
  2011-05-09 18:06 ` alexandre.f.demers at gmail dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: alexandre.f.demers at gmail dot com @ 2011-05-09 16:29 UTC (permalink / raw)
  To: glibc-bugs

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 on the CC list for the bug.


^ permalink raw reply	[flat|nested] 8+ 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:05 [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:29 ` alexandre.f.demers at gmail dot com
@ 2011-05-09 18:06 ` alexandre.f.demers at gmail dot com
  2011-05-10 19:16 ` drepper.fsp at gmail dot com
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: alexandre.f.demers at gmail dot com @ 2011-05-09 18:06 UTC (permalink / raw)
  To: glibc-bugs

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 on the CC list for the bug.


^ permalink raw reply	[flat|nested] 8+ 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:05 [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:06 ` alexandre.f.demers at gmail dot com
@ 2011-05-10 19:16 ` drepper.fsp at gmail dot com
  2011-05-10 21:23 ` alexandre.f.demers at gmail dot com
  2014-06-27 13:27 ` fweimer at redhat dot com
  6 siblings, 0 replies; 8+ messages in thread
From: drepper.fsp at gmail dot com @ 2011-05-10 19:16 UTC (permalink / raw)
  To: glibc-bugs

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

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

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

--- Comment #4 from Ulrich Drepper <drepper.fsp at gmail dot com> 2011-05-10 19:15:48 UTC ---
It is completely irrelevant what should be expected.  Locales are about what
people are using.  Programs displaying times all should have a special ISO 8601
mode and that's how you allow people to read the time this way.  If you don't
like that then compile your own locale.  That's why there is a standardized
lcoaledef program.  But I'm not going to change the format everyone but you
expect under people's feet.

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


^ permalink raw reply	[flat|nested] 8+ 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:05 [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 19:16 ` drepper.fsp at gmail dot com
@ 2011-05-10 21:23 ` alexandre.f.demers at gmail dot com
  2014-06-27 13:27 ` fweimer at redhat dot com
  6 siblings, 0 replies; 8+ messages in thread
From: alexandre.f.demers at gmail dot com @ 2011-05-10 21:23 UTC (permalink / raw)
  To: glibc-bugs

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 on the CC list for the bug.


^ permalink raw reply	[flat|nested] 8+ 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:05 [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 ...)
  2011-05-10 21:23 ` alexandre.f.demers at gmail dot com
@ 2014-06-27 13:27 ` fweimer at redhat dot com
  6 siblings, 0 replies; 8+ messages in thread
From: fweimer at redhat dot com @ 2014-06-27 13:27 UTC (permalink / raw)
  To: glibc-bugs

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 on the CC list for the bug.


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

end of thread, other threads:[~2014-06-27 13:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-05  6:05 [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:10 ` [Bug localedata/12731] [PATCH] " alexandre.f.demers at gmail dot com
2011-05-09 13:18 ` drepper.fsp at gmail dot com
2011-05-09 16:29 ` alexandre.f.demers at gmail dot com
2011-05-09 18:06 ` alexandre.f.demers at gmail dot com
2011-05-10 19:16 ` drepper.fsp at gmail dot com
2011-05-10 21:23 ` alexandre.f.demers at gmail dot com
2014-06-27 13:27 ` fweimer 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).