Browse Source

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

first_workday is Monday.
cvs/glibc-2_7-branch
Ulrich Drepper 19 years ago
parent
commit
659a9013d4
  1. 2
      ChangeLog
  2. 4
      locale/programs/ld-time.c

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

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

Loading…
Cancel
Save