r1195 - in glibc-package/trunk/debian: . patches/locale
Author: barbier
Date: 2006-02-19 23:02:37 +0000 (Sun, 19 Feb 2006)
New Revision: 1195
Modified:
glibc-package/trunk/debian/changelog
glibc-package/trunk/debian/patches/locale/fix-C-first_weekday.diff
Log:
Fix the week definition for the C locale.
Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog 2006-02-19 22:20:35 UTC (rev 1194)
+++ glibc-package/trunk/debian/changelog 2006-02-19 23:02:37 UTC (rev 1195)
@@ -16,6 +16,7 @@
de_CH for LC_NUMERIC and LC_MONETARY sections. (Closes: #345481)
* Apply a patch from Fedora to define AM/PM strings in cy_GB and en_GB
locales. (Closes: #240901)
+ * Fix the week definition for the C locale.
* Add an "All locales" option to the locales/locales_to_be_generated
template. When it is selected, /etc/locale.gen is a symlink to
/usr/share/i18n/SUPPORTED. (Closes: #321580, #323013)
Modified: glibc-package/trunk/debian/patches/locale/fix-C-first_weekday.diff
===================================================================
--- glibc-package/trunk/debian/patches/locale/fix-C-first_weekday.diff 2006-02-19 22:20:35 UTC (rev 1194)
+++ glibc-package/trunk/debian/patches/locale/fix-C-first_weekday.diff 2006-02-19 23:02:37 UTC (rev 1195)
@@ -2,6 +2,7 @@
# All lines beginning with `# DP:' are a description of the patch.
# DP: Description: #327025 C locale has bad default for _NL_TIME_FIRST_WEEKDAY
+# DP: Also fixes the 3rd value of the week keyword.
# DP: Related bugs: #327025 BZ181
# DP: Dpatch author: Denis Barbier
# DP: Patch author: Petter Reinholdtsen
@@ -12,12 +13,15 @@
===================================================================
--- locale/C-time.c.orig
+++ locale/C-time.c
-@@ -136,7 +136,7 @@
+@@ -135,10 +135,10 @@
+ { .wstr = (const uint32_t *) L"" },
{ .string = "\7" },
{ .word = 19971130 },
- { .string = "\4" },
-- { .string = "\7" },
-+ { .string = "\1" },
+- { .string = "\4" },
+ { .string = "\7" },
{ .string = "\1" },
{ .string = "\1" },
++ { .string = "\1" },
{ .string = "" },
+ { .string = "%a %b %e %H:%M:%S %Z %Y" },
+ { .wstr = (const uint32_t *) L"%a %b %e %H:%M:%S %Z %Y" },
Reply to: