Commit 792b47f6 authored by Victor Stinner's avatar Victor Stinner

(Merge 3.2) Issue #10653: On Windows, use strftime() instead of wcsftime()

because wcsftime() doesn't format time zone correctly.
parents f5cff56a c1f32ca0
......@@ -305,6 +305,9 @@ Core and Builtins
Library
-------
- Issue #10653: On Windows, use strftime() instead of wcsftime() because
wcsftime() doesn't format time zone correctly.
- Issue #13150: The tokenize module doesn't compile large regular expressions
at startup anymore.
......
......@@ -386,6 +386,11 @@ checktm(struct tm* buf)
return 1;
}
#ifdef MS_WINDOWS
/* wcsftime() doesn't format correctly time zones, see issue #10653 */
# undef HAVE_WCSFTIME
#endif
#ifdef HAVE_STRFTIME
#ifdef HAVE_WCSFTIME
#define time_char wchar_t
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment