Force "%c" to be ctime-compatible
Submitted by: ru
This commit is contained in:
parent
21079021da
commit
c877745700
@ -143,7 +143,8 @@ _strptime(const char *buf, const char *fmt, struct tm *tm)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'c':
|
case 'c':
|
||||||
buf = _strptime(buf, Locale->c_fmt, tm);
|
/* NOTE: c_fmt is intentionally ignored */
|
||||||
|
buf = _strptime(buf, "%a %Ef %T %Y", tm);
|
||||||
if (buf == 0)
|
if (buf == 0)
|
||||||
return 0;
|
return 0;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user