1
0
mirror of https://frontier.innolan.net/rainlance/amiga-tz.git synced 2025-12-07 01:31:58 +00:00

simplified

SCCS-file: strftime.c
SCCS-SID: 1.6
This commit is contained in:
Arthur David Olson
1989-04-10 11:02:36 -04:00
committed by Paul Eggert
parent 53339366eb
commit 3eebc8a461

View File

@ -111,6 +111,7 @@ _fmt(format, t)
_fmt("%a %b %e %X %Y\n", t);
continue;
case 'D':
case 'x':
_fmt("%m/%d/%y", t);
continue;
case 'd':
@ -181,9 +182,6 @@ _fmt(format, t)
case 'w':
_conv(t->tm_wday, 1, '0');
continue;
case 'x':
_fmt("%D", t);
continue;
case 'y':
_conv((t->tm_year + TM_YEAR_BASE) % 100,
2, '0');