]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* locale/programs/ld-time.c (time_finish): Default for
authorUlrich Drepper <drepper@redhat.com>
Sun, 7 Oct 2007 20:39:44 +0000 (20:39 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 7 Oct 2007 20:39:44 +0000 (20:39 +0000)
first_workday is Monday.

ChangeLog
locale/programs/ld-time.c

index b4a2e61f515d371d70451144363fff21d8641793..e4ccedaccb613461ca85f0bd6cef21f2d4147ed5 100644 (file)
--- 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.
index 30c13533c298b1126865b2601e2cdd219fa4d3b5..f040c9347487f760f2f485234462658fcd5a3935 100644 (file)
@@ -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"),