public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug localedata/7068] New: en_GB locale has wrong week specifier
@ 2008-12-04  3:30 pasky at suse dot cz
  2008-12-04  3:31 ` [Bug localedata/7068] " pasky at suse dot cz
                   ` (12 more replies)
  0 siblings, 13 replies; 15+ messages in thread
From: pasky at suse dot cz @ 2008-12-04  3:30 UTC (permalink / raw)
  To: glibc-bugs

en_GB locale specifies in its week directive that its days list is Sunday-based,
while in fact it is Monday-based. With the recent first_w*day change from
September, this causes calendar applications to malfunction since the first
w*days now essentially point to the Tuesday string. Patch to follow.

There is a similar problem in csb_PL. Huge number of other locales have the week
directive wrong too (cs_CZ, de_DE, ...) but have first_weekday set to 1 so
usually the week just appears to start with Sunday instead of Monday which is
apparently less noticeable by users. I will start opening bugs for these locales
later.

-- 
           Summary: en_GB locale has wrong week specifier
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: localedata
        AssignedTo: libc-locales at sources dot redhat dot com
        ReportedBy: pasky at suse dot cz
                CC: glibc-bugs at sources dot redhat dot com


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug localedata/7068] en_GB locale has wrong week specifier
  2008-12-04  3:30 [Bug localedata/7068] New: en_GB locale has wrong week specifier pasky at suse dot cz
@ 2008-12-04  3:31 ` pasky at suse dot cz
  2008-12-09 23:35 ` drepper at redhat dot com
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: pasky at suse dot cz @ 2008-12-04  3:31 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From pasky at suse dot cz  2008-12-04 03:30 -------
Created an attachment (id=3089)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=3089&action=view)
Proposed patch


-- 


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug localedata/7068] en_GB locale has wrong week specifier
  2008-12-04  3:30 [Bug localedata/7068] New: en_GB locale has wrong week specifier pasky at suse dot cz
  2008-12-04  3:31 ` [Bug localedata/7068] " pasky at suse dot cz
@ 2008-12-09 23:35 ` drepper at redhat dot com
  2009-01-09 16:16 ` pasky at suse dot cz
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: drepper at redhat dot com @ 2008-12-09 23:35 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2008-12-09 22:57 -------
Test case?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug localedata/7068] en_GB locale has wrong week specifier
  2008-12-04  3:30 [Bug localedata/7068] New: en_GB locale has wrong week specifier pasky at suse dot cz
  2008-12-04  3:31 ` [Bug localedata/7068] " pasky at suse dot cz
  2008-12-09 23:35 ` drepper at redhat dot com
@ 2009-01-09 16:16 ` pasky at suse dot cz
  2009-01-09 17:32 ` pasky at suse dot cz
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: pasky at suse dot cz @ 2009-01-09 16:16 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From pasky at suse dot cz  2009-01-09 16:16 -------
Sorry, I will be glad to provide one, but could you be more specific? Just a
testcase testing whether en_GB returns the correct weekstart? That doesn't look
very useful... Or something iterating all the SUPPORTED locales to check whether
their weekstart is only Sunday or Monday? There seem to be no tests like that so
far, but I'm not sure what else do you mean.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug localedata/7068] en_GB locale has wrong week specifier
  2008-12-04  3:30 [Bug localedata/7068] New: en_GB locale has wrong week specifier pasky at suse dot cz
                   ` (2 preceding siblings ...)
  2009-01-09 16:16 ` pasky at suse dot cz
@ 2009-01-09 17:32 ` pasky at suse dot cz
  2009-02-01 12:34 ` jgxenite at gmail dot com
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: pasky at suse dot cz @ 2009-01-09 17:32 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From pasky at suse dot cz  2009-01-09 17:32 -------
Created an attachment (id=3648)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=3648&action=view)
Easily test correctness of first weekday setting

Sorry, I was kind of dense I guess - you probably mean a way to reproduce and
verify the settings. I have attached a simple test application that interprets
the relevant locale data based on my current understanding of the relevant
specs. The two printed weekday names should match in correctly defined locale.

-- 


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug localedata/7068] en_GB locale has wrong week specifier
  2008-12-04  3:30 [Bug localedata/7068] New: en_GB locale has wrong week specifier pasky at suse dot cz
                   ` (3 preceding siblings ...)
  2009-01-09 17:32 ` pasky at suse dot cz
@ 2009-02-01 12:34 ` jgxenite at gmail dot com
  2009-03-07 20:31 ` samuel dot thibault at ens-lyon dot org
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: jgxenite at gmail dot com @ 2009-02-01 12:34 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From jgxenite at gmail dot com  2009-02-01 12:34 -------
This update has now introduced another bug, whereby the start of the week is
Tuesday, instead of Monday.

The first weekday and first workday parameters should both be 1, instead of 2:
  first_weekday 1
  first_workday 1

-- 


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug localedata/7068] en_GB locale has wrong week specifier
  2008-12-04  3:30 [Bug localedata/7068] New: en_GB locale has wrong week specifier pasky at suse dot cz
                   ` (4 preceding siblings ...)
  2009-02-01 12:34 ` jgxenite at gmail dot com
@ 2009-03-07 20:31 ` samuel dot thibault at ens-lyon dot org
  2009-03-07 20:51 ` samuel dot thibault at ens-lyon dot org
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: samuel dot thibault at ens-lyon dot org @ 2009-03-07 20:31 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From samuel dot thibault at ens-lyon dot org  2009-03-07 20:31 -------
Created an attachment (id=3797)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=3797&action=view)
Easily test correctness of first weekday setting

Here is an even better testcase: I have added what the firstday is in
english, to check that the translation is correct.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
Attachment #3648 is|0                           |1
           obsolete|                            |


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug localedata/7068] en_GB locale has wrong week specifier
  2008-12-04  3:30 [Bug localedata/7068] New: en_GB locale has wrong week specifier pasky at suse dot cz
                   ` (5 preceding siblings ...)
  2009-03-07 20:31 ` samuel dot thibault at ens-lyon dot org
@ 2009-03-07 20:51 ` samuel dot thibault at ens-lyon dot org
  2009-03-08  0:35 ` samuel dot thibault at ens-lyon dot org
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: samuel dot thibault at ens-lyon dot org @ 2009-03-07 20:51 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From samuel dot thibault at ens-lyon dot org  2009-03-07 20:51 -------
Created an attachment (id=3798)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=3798&action=view)
Easily test correctness of first weekday setting

Oops, I hadn't seen that it was showing the first day of the week, not
the first day of the week system. Here is a fixed version (my concern
is to show the english name to make sure things are really correct).


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
Attachment #3797 is|0                           |1
           obsolete|                            |


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug localedata/7068] en_GB locale has wrong week specifier
  2008-12-04  3:30 [Bug localedata/7068] New: en_GB locale has wrong week specifier pasky at suse dot cz
                   ` (6 preceding siblings ...)
  2009-03-07 20:51 ` samuel dot thibault at ens-lyon dot org
@ 2009-03-08  0:35 ` samuel dot thibault at ens-lyon dot org
  2009-03-09  1:27 ` P at draigBrady dot com
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: samuel dot thibault at ens-lyon dot org @ 2009-03-08  0:35 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From samuel dot thibault at ens-lyon dot org  2009-03-08 00:35 -------
Created an attachment (id=3799)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=3799&action=view)
Fix first_weekday and week

Here is a patch that addresses the en_GB concern initially described
here as well as csb_PL and et_EE (same concern), and fixes week[2] into
always be 19971130, as glibc assumes this.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
Attachment #3089 is|0                           |1
           obsolete|                            |


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug localedata/7068] en_GB locale has wrong week specifier
  2008-12-04  3:30 [Bug localedata/7068] New: en_GB locale has wrong week specifier pasky at suse dot cz
                   ` (7 preceding siblings ...)
  2009-03-08  0:35 ` samuel dot thibault at ens-lyon dot org
@ 2009-03-09  1:27 ` P at draigBrady dot com
  2009-03-09 22:31 ` samuel dot thibault at ens-lyon dot org
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: P at draigBrady dot com @ 2009-03-09  1:27 UTC (permalink / raw)
  To: glibc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |P at draigBrady dot com


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug localedata/7068] en_GB locale has wrong week specifier
  2008-12-04  3:30 [Bug localedata/7068] New: en_GB locale has wrong week specifier pasky at suse dot cz
                   ` (8 preceding siblings ...)
  2009-03-09  1:27 ` P at draigBrady dot com
@ 2009-03-09 22:31 ` samuel dot thibault at ens-lyon dot org
  2009-04-25  4:44 ` drepper at redhat dot com
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: samuel dot thibault at ens-lyon dot org @ 2009-03-09 22:31 UTC (permalink / raw)
  To: glibc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |samuel dot thibault at ens-
                   |                            |lyon dot org


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug localedata/7068] en_GB locale has wrong week specifier
  2008-12-04  3:30 [Bug localedata/7068] New: en_GB locale has wrong week specifier pasky at suse dot cz
                   ` (9 preceding siblings ...)
  2009-03-09 22:31 ` samuel dot thibault at ens-lyon dot org
@ 2009-04-25  4:44 ` drepper at redhat dot com
  2009-04-25  9:51 ` samuel dot thibault at ens-lyon dot org
  2009-11-22 19:12 ` pasky at suse dot cz
  12 siblings, 0 replies; 15+ messages in thread
From: drepper at redhat dot com @ 2009-04-25  4:44 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2009-04-25 04:44 -------
OK, I applied the patch.  But if people complain I'll point to you.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug localedata/7068] en_GB locale has wrong week specifier
  2008-12-04  3:30 [Bug localedata/7068] New: en_GB locale has wrong week specifier pasky at suse dot cz
                   ` (10 preceding siblings ...)
  2009-04-25  4:44 ` drepper at redhat dot com
@ 2009-04-25  9:51 ` samuel dot thibault at ens-lyon dot org
  2009-11-22 19:12 ` pasky at suse dot cz
  12 siblings, 0 replies; 15+ messages in thread
From: samuel dot thibault at ens-lyon dot org @ 2009-04-25  9:51 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From samuel dot thibault at ens-lyon dot org  2009-04-25 09:51 -------
No problem, I'll take the time to explain them. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug localedata/7068] en_GB locale has wrong week specifier
  2008-12-04  3:30 [Bug localedata/7068] New: en_GB locale has wrong week specifier pasky at suse dot cz
                   ` (11 preceding siblings ...)
  2009-04-25  9:51 ` samuel dot thibault at ens-lyon dot org
@ 2009-11-22 19:12 ` pasky at suse dot cz
  12 siblings, 0 replies; 15+ messages in thread
From: pasky at suse dot cz @ 2009-11-22 19:12 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From pasky at suse dot cz  2009-11-22 19:12 -------
*** Bug 9835 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aurelien at aurel32 dot net


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug localedata/7068] en_GB locale has wrong week specifier
       [not found] <bug-7068-131@http.sourceware.org/bugzilla/>
@ 2014-07-01 20:55 ` fweimer at redhat dot com
  0 siblings, 0 replies; 15+ messages in thread
From: fweimer at redhat dot com @ 2014-07-01 20:55 UTC (permalink / raw)
  To: glibc-bugs

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

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] 15+ messages in thread

end of thread, other threads:[~2014-07-01 20:55 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-04  3:30 [Bug localedata/7068] New: en_GB locale has wrong week specifier pasky at suse dot cz
2008-12-04  3:31 ` [Bug localedata/7068] " pasky at suse dot cz
2008-12-09 23:35 ` drepper at redhat dot com
2009-01-09 16:16 ` pasky at suse dot cz
2009-01-09 17:32 ` pasky at suse dot cz
2009-02-01 12:34 ` jgxenite at gmail dot com
2009-03-07 20:31 ` samuel dot thibault at ens-lyon dot org
2009-03-07 20:51 ` samuel dot thibault at ens-lyon dot org
2009-03-08  0:35 ` samuel dot thibault at ens-lyon dot org
2009-03-09  1:27 ` P at draigBrady dot com
2009-03-09 22:31 ` samuel dot thibault at ens-lyon dot org
2009-04-25  4:44 ` drepper at redhat dot com
2009-04-25  9:51 ` samuel dot thibault at ens-lyon dot org
2009-11-22 19:12 ` pasky at suse dot cz
     [not found] <bug-7068-131@http.sourceware.org/bugzilla/>
2014-07-01 20:55 ` 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).