* locale/programs/ld-time.c (time_finish): Default for

first_workday is Monday.
This commit is contained in:
Ulrich Drepper 2007-10-07 20:39:44 +00:00
parent a1160714c8
commit 659a9013d4
2 changed files with 4 additions and 2 deletions

View File

@ -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.

View 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"),