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:
committed by
Paul Eggert
parent
53339366eb
commit
3eebc8a461
@ -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');
|
||||
|
||||
Reference in New Issue
Block a user