mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 02:40:08 +00:00
* locale/programs/ld-time.c (time_finish): Default for
first_workday is Monday.
This commit is contained in:
parent
a1160714c8
commit
659a9013d4
@ -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.
|
||||
|
@ -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…
Reference in New Issue
Block a user