mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-01 01:41:01 -08:00
automatically generated from GPLed version
This commit is contained in:
parent
915c0e2515
commit
4dab1e80fa
2 changed files with 7 additions and 1 deletions
|
|
@ -196,7 +196,7 @@ __mktime_internal (tp, convert, offset)
|
|||
|
||||
/* The maximum number of probes (calls to CONVERT) should be enough
|
||||
to handle any combinations of time zone rule changes, solar time,
|
||||
and leap seconds. Posix.1 prohibits leap seconds, but some hosts
|
||||
and leap seconds. POSIX.1 prohibits leap seconds, but some hosts
|
||||
have them anyway. */
|
||||
int remaining_probes = 4;
|
||||
|
||||
|
|
|
|||
|
|
@ -885,6 +885,11 @@ my_strftime (s, maxsize, format, tp)
|
|||
cpy (buf + sizeof (buf) - bufp, bufp);
|
||||
break;
|
||||
|
||||
case 'F':
|
||||
if (modifier != 0)
|
||||
goto bad_format;
|
||||
subfmt = "%Y-%m-%d";
|
||||
goto subformat;
|
||||
|
||||
case 'H':
|
||||
if (modifier == 'E')
|
||||
|
|
@ -1031,6 +1036,7 @@ my_strftime (s, maxsize, format, tp)
|
|||
add (1, *p = '\t');
|
||||
break;
|
||||
|
||||
case 'f':
|
||||
case 'u': /* POSIX.2 extension. */
|
||||
DO_NUMBER (1, (tp->tm_wday - 1 + 7) % 7 + 1);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue