mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #19634: time.strftime("%y") now raises a ValueError on Solaris when given
a year before 1900.
This commit is contained in:
parent
235c5e0dd6
commit
93965f7a6b
1 changed files with 1 additions and 1 deletions
|
@ -650,7 +650,7 @@ time_strftime(PyObject *self, PyObject *args)
|
|||
return NULL;
|
||||
}
|
||||
}
|
||||
#elif defined(_AIX) && defined(HAVE_WCSFTIME)
|
||||
#elif (defined(_AIX) || defined(sun)) && defined(HAVE_WCSFTIME)
|
||||
for(outbuf = wcschr(fmt, '%');
|
||||
outbuf != NULL;
|
||||
outbuf = wcschr(outbuf+2, '%'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue