public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug localedata/181] [PATCH] POSIX first_weekday should be sunday
       [not found] <bug-181-131@http.sourceware.org/bugzilla/>
@ 2012-03-08  4:25 ` carlos at systemhalted dot org
  2012-03-08  4:41 ` carlos at systemhalted dot org
  1 sibling, 0 replies; 13+ messages in thread
From: carlos at systemhalted dot org @ 2012-03-08  4:25 UTC (permalink / raw)
  To: glibc-bugs

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

Carlos O'Donell <carlos at systemhalted dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |testsuite
                 CC|                            |carlos at systemhalted dot
                   |                            |org
              Flags|testsuite+                  |

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

* [Bug localedata/181] [PATCH] POSIX first_weekday should be sunday
       [not found] <bug-181-131@http.sourceware.org/bugzilla/>
  2012-03-08  4:25 ` [Bug localedata/181] [PATCH] POSIX first_weekday should be sunday carlos at systemhalted dot org
@ 2012-03-08  4:41 ` carlos at systemhalted dot org
  1 sibling, 0 replies; 13+ messages in thread
From: carlos at systemhalted dot org @ 2012-03-08  4:41 UTC (permalink / raw)
  To: glibc-bugs

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

Carlos O'Donell <carlos at systemhalted dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|examined+                   |

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

* [Bug localedata/181] [PATCH] POSIX first_weekday should be sunday
  2004-05-25 21:48 [Bug localedata/181] New: " pere at hungry dot com
                   ` (9 preceding siblings ...)
  2007-09-17 13:53 ` morten at runsafe dot no
@ 2007-10-07 20:41 ` drepper at redhat dot com
  10 siblings, 0 replies; 13+ messages in thread
From: drepper at redhat dot com @ 2007-10-07 20:41 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2007-10-07 20:41 -------
I've checked appropriate patchesin cvs.

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


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

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

* [Bug localedata/181] [PATCH] POSIX first_weekday should be sunday
  2004-05-25 21:48 [Bug localedata/181] New: " pere at hungry dot com
                   ` (8 preceding siblings ...)
  2006-04-07 10:00 ` samuel dot thibault at ens-lyon dot org
@ 2007-09-17 13:53 ` morten at runsafe dot no
  2007-10-07 20:41 ` drepper at redhat dot com
  10 siblings, 0 replies; 13+ messages in thread
From: morten at runsafe dot no @ 2007-09-17 13:53 UTC (permalink / raw)
  To: glibc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |morten at runsafe dot no


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

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

* [Bug localedata/181] [PATCH] POSIX first_weekday should be sunday
  2004-05-25 21:48 [Bug localedata/181] New: " pere at hungry dot com
                   ` (7 preceding siblings ...)
  2006-02-28 21:16 ` sbrabec at suse dot cz
@ 2006-04-07 10:00 ` samuel dot thibault at ens-lyon dot org
  2007-09-17 13:53 ` morten at runsafe dot no
  2007-10-07 20:41 ` drepper at redhat dot com
  10 siblings, 0 replies; 13+ messages in thread
From: samuel dot thibault at ens-lyon dot org @ 2006-04-07 10:00 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=181

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

* [Bug localedata/181] [PATCH] POSIX first_weekday should be sunday
  2004-05-25 21:48 [Bug localedata/181] New: " pere at hungry dot com
                   ` (6 preceding siblings ...)
  2006-02-21 21:57 ` decimal at us dot ibm dot com
@ 2006-02-28 21:16 ` sbrabec at suse dot cz
  2006-04-07 10:00 ` samuel dot thibault at ens-lyon dot org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 13+ messages in thread
From: sbrabec at suse dot cz @ 2006-02-28 21:16 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From sbrabec at suse dot cz  2006-02-28 21:16 -------
Related: bug 2388.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sbrabec at suse dot cz


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

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

* [Bug localedata/181] [PATCH] POSIX first_weekday should be sunday
  2004-05-25 21:48 [Bug localedata/181] New: " pere at hungry dot com
                   ` (5 preceding siblings ...)
  2006-02-21 21:54 ` decimal at us dot ibm dot com
@ 2006-02-21 21:57 ` decimal at us dot ibm dot com
  2006-02-28 21:16 ` sbrabec at suse dot cz
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 13+ messages in thread
From: decimal at us dot ibm dot com @ 2006-02-21 21:57 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From decimal at us dot ibm dot com  2006-02-21 21:57 -------
I attached a patch and testcase to fix first_weekday and first_workday and test
those two plus week_1stday. But I cannot find the standards text which specifies
first_weekday and first_workday so I'm not 100% this is the right thing to do. I
found one comment on a gentoo page stating that these are not part of the
standard FWIW.

http://gentoo-wiki.com/HOWTO_localedef

(Also this bug is only for first_weekday so changing first_workday may not be
needed but it seemed logical to me and I saw similar settings in other locale
files.)

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
               Flag|                            |testsuite+, examined+


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

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

* [Bug localedata/181] [PATCH] POSIX first_weekday should be sunday
  2004-05-25 21:48 [Bug localedata/181] New: " pere at hungry dot com
                   ` (4 preceding siblings ...)
  2006-02-21 21:53 ` decimal at us dot ibm dot com
@ 2006-02-21 21:54 ` decimal at us dot ibm dot com
  2006-02-21 21:57 ` decimal at us dot ibm dot com
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 13+ messages in thread
From: decimal at us dot ibm dot com @ 2006-02-21 21:54 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From decimal at us dot ibm dot com  2006-02-21 21:54 -------
Created an attachment (id=883)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=883&action=view)
Testcase for POSIX/C first_weekday and first_workday.


-- 


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

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

* [Bug localedata/181] [PATCH] POSIX first_weekday should be sunday
  2004-05-25 21:48 [Bug localedata/181] New: " pere at hungry dot com
                   ` (3 preceding siblings ...)
  2005-10-07 14:00 ` egmont at uhulinux dot hu
@ 2006-02-21 21:53 ` decimal at us dot ibm dot com
  2006-02-21 21:54 ` decimal at us dot ibm dot com
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 13+ messages in thread
From: decimal at us dot ibm dot com @ 2006-02-21 21:53 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From decimal at us dot ibm dot com  2006-02-21 21:53 -------
Created an attachment (id=882)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=882&action=view)
Fix first_weekday and first_workday for POSIX file and inline POSIX.


-- 


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

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

* [Bug localedata/181] [PATCH] POSIX first_weekday should be sunday
  2004-05-25 21:48 [Bug localedata/181] New: " pere at hungry dot com
                   ` (2 preceding siblings ...)
  2005-10-06 18:35 ` egmont at uhulinux dot hu
@ 2005-10-07 14:00 ` egmont at uhulinux dot hu
  2006-02-21 21:53 ` decimal at us dot ibm dot com
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 13+ messages in thread
From: egmont at uhulinux dot hu @ 2005-10-07 14:00 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From egmont at uhulinux dot hu  2005-10-07 14:00 -------
One more note:

The localedata tree has a file named POSIX, and based on it the locale-archive
database also has a POSIX entry. This file contains no "week" or
"first_weekday" entries, so the glibc built-in default, 19971130 and 1 are
used, which would lead to a calendar displayed beginning with Sunday if this
locale entry would be reachable, but it isn't, since the built-in POSIX locale 
is used whenever the POSIX locale is requested.

So glibc is inconsistent with itself, its built-in POSIX is different from
what the file called POSIX says.

This means that if someone creates a locale which copies the POSIX locale's
time stuff:

LC_TIME
copy "POSIX"
END LC_TIME 

then this locale will behave differently than the POSIX locale, as this new
external locale will start the weeks on Sunday, unlike built-in POSIX.


-- 


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

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

* [Bug localedata/181] [PATCH] POSIX first_weekday should be sunday
  2004-05-25 21:48 [Bug localedata/181] New: " pere at hungry dot com
  2004-05-25 21:51 ` [Bug localedata/181] " pere at hungry dot com
  2004-05-26 11:45 ` pere at hungry dot com
@ 2005-10-06 18:35 ` egmont at uhulinux dot hu
  2005-10-07 14:00 ` egmont at uhulinux dot hu
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 13+ messages in thread
From: egmont at uhulinux dot hu @ 2005-10-06 18:35 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From egmont at uhulinux dot hu  2005-10-06 18:35 -------
Today I spent some time trying to understand the locale fields "week" and
"first_weekday" to fix the Hungarian locale (bug #1429). It all started with a
Gnome update, Gnome 2.8 presented a Monday-based calendar, while 2.12 brought
me to a Sunday-based one which is unusable most Hungarian people (well, at
least for me :-) so I wanted to fix it. Then it turned out that new Gnome uses
these fields from glibc...

After all, I came to exactly the same conclusion as Petter. "first_weekday" is
relative to the date (usually 19971130 or 19971201) defined in the "week"
field (which is later available as "week-1stday". As a result, currently
glibc's C locale defines that a calendar should be displayed as if weeks
started on Saturday.

In accordance, if I start Gnome with LC_ALL=POSIX, its calendar really displays
weeks from Saturday to Friday.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egmont at uhulinux dot hu


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

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

* [Bug localedata/181] [PATCH] POSIX first_weekday should be sunday
  2004-05-25 21:48 [Bug localedata/181] New: " pere at hungry dot com
  2004-05-25 21:51 ` [Bug localedata/181] " pere at hungry dot com
@ 2004-05-26 11:45 ` pere at hungry dot com
  2005-10-06 18:35 ` egmont at uhulinux dot hu
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 13+ messages in thread
From: pere at hungry dot com @ 2004-05-26 11:45 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From pere at hungry dot com  2004-05-26 11:45 -------
I've sent the patch to libc-alpha@ today.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED


http://sources.redhat.com/bugzilla/show_bug.cgi?id=181

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

* [Bug localedata/181] [PATCH] POSIX first_weekday should be sunday
  2004-05-25 21:48 [Bug localedata/181] New: " pere at hungry dot com
@ 2004-05-25 21:51 ` pere at hungry dot com
  2004-05-26 11:45 ` pere at hungry dot com
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 13+ messages in thread
From: pere at hungry dot com @ 2004-05-25 21:51 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From pere at hungry dot com  2004-05-25 21:51 -------
Created an attachment (id=93)
 --> (http://sources.redhat.com/bugzilla/attachment.cgi?id=93&action=view)
Patch to fix first_weekday for POSIX / C locale


-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=181

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

end of thread, other threads:[~2012-03-08  4:41 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-181-131@http.sourceware.org/bugzilla/>
2012-03-08  4:25 ` [Bug localedata/181] [PATCH] POSIX first_weekday should be sunday carlos at systemhalted dot org
2012-03-08  4:41 ` carlos at systemhalted dot org
2004-05-25 21:48 [Bug localedata/181] New: " pere at hungry dot com
2004-05-25 21:51 ` [Bug localedata/181] " pere at hungry dot com
2004-05-26 11:45 ` pere at hungry dot com
2005-10-06 18:35 ` egmont at uhulinux dot hu
2005-10-07 14:00 ` egmont at uhulinux dot hu
2006-02-21 21:53 ` decimal at us dot ibm dot com
2006-02-21 21:54 ` decimal at us dot ibm dot com
2006-02-21 21:57 ` decimal at us dot ibm dot com
2006-02-28 21:16 ` sbrabec at suse dot cz
2006-04-07 10:00 ` samuel dot thibault at ens-lyon dot org
2007-09-17 13:53 ` morten at runsafe dot no
2007-10-07 20:41 ` drepper 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).