about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-10-07 20:39:44 +0000
committerUlrich Drepper <drepper@redhat.com>2007-10-07 20:39:44 +0000
commit659a9013d4f4bb7012bfd736bae2c9e04581c27e (patch)
tree179ae30243b00e63401265ee396c2c137d353fa7
parenta1160714c849b5e2c3d9b19f19c8bab72c3e3469 (diff)
downloadglibc-659a9013d4f4bb7012bfd736bae2c9e04581c27e.tar.gz
glibc-659a9013d4f4bb7012bfd736bae2c9e04581c27e.tar.xz
glibc-659a9013d4f4bb7012bfd736bae2c9e04581c27e.zip
* locale/programs/ld-time.c (time_finish): Default for
	first_workday is Monday.
-rw-r--r--ChangeLog2
-rw-r--r--locale/programs/ld-time.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index b4a2e61f51..e4ccedaccb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,8 @@
 
 	[BZ #181]
 	* locale/C-time.c: Set week_1stday data to 19971201.
+	* locale/programs/ld-time.c (time_finish): Default for
+	first_workday is Monday.
 
 	[BZ #2633]
 	* wcsmbs/wchar.h: Move many C99 functions into std namespace.
diff --git a/locale/programs/ld-time.c b/locale/programs/ld-time.c
index 30c13533c2..f040c93474 100644
--- a/locale/programs/ld-time.c
+++ b/locale/programs/ld-time.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995-2005, 2006 Free Software Foundation, Inc.
+/* Copyright (C) 1995-2005, 2006, 2007 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@gnu.org>, 1995.
 
@@ -508,7 +508,7 @@ No definition for %s category found"), "LC_TIME"));
 
   if (time->first_workday == '\0')
     /* The definition does not specify this so the default is used.  */
-    time->first_workday = 1;
+    time->first_workday = 2;
   else if (time->first_workday > time->week_ndays)
     WITH_CUR_LOCALE (error (0, 0, _("\
 %s: values for field `%s' must not be larger than %d"),