aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2009-10-05 10:52:22 +0200
committerAndreas Schwab <schwab@redhat.com>2009-10-05 10:52:22 +0200
commit930799d555e9534cf78f57fa88642a4a43d278f4 (patch)
treeca7f49f63c7937703492d0fd92a19e905b59cb4c
parent78aa397939f403cef61d882f2e76f8c131b9e4d9 (diff)
downloadglibc-930799d555e9534cf78f57fa88642a4a43d278f4.tar
glibc-930799d555e9534cf78f57fa88642a4a43d278f4.tar.gz
glibc-930799d555e9534cf78f57fa88642a4a43d278f4.tar.bz2
glibc-930799d555e9534cf78f57fa88642a4a43d278f4.zip
Fix week-1stday in C locale
-rw-r--r--ChangeLog5
-rw-r--r--locale/C-time.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 43c773b922..8083b80220 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-10-05 Andreas Schwab <schwab@redhat.com>
+
+ * locale/C-time.c: Revert week-1stday back to 19971130 and set
+ first_weekday to 1 and first_workday to 2.
+
2009-10-01 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Define F_SETOWN_EX and
diff --git a/locale/C-time.c b/locale/C-time.c
index a9275d9ebe..368ffce7ad 100644
--- a/locale/C-time.c
+++ b/locale/C-time.c
@@ -134,10 +134,10 @@ const struct locale_data _nl_C_LC_TIME attribute_hidden =
{ .wstr = (const uint32_t *) L"" },
{ .wstr = (const uint32_t *) L"" },
{ .string = "\7" },
- { .word = 19971201 },
+ { .word = 19971130 },
{ .string = "\4" },
- { .string = "\7" },
{ .string = "\1" },
+ { .string = "\2" },
{ .string = "\1" },
{ .string = "" },
{ .string = "%a %b %e %H:%M:%S %Z %Y" },