Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f5cff56 + c1f32ca commit 792b47fCopy full SHA for 792b47f
2 files changed
Misc/NEWS
@@ -305,6 +305,9 @@ Core and Builtins
305
Library
306
-------
307
308
+- Issue #10653: On Windows, use strftime() instead of wcsftime() because
309
+ wcsftime() doesn't format time zone correctly.
310
+
311
- Issue #13150: The tokenize module doesn't compile large regular expressions
312
at startup anymore.
313
Modules/timemodule.c
@@ -386,6 +386,11 @@ checktm(struct tm* buf)
386
return 1;
387
}
388
389
+#ifdef MS_WINDOWS
390
+ /* wcsftime() doesn't format correctly time zones, see issue #10653 */
391
+# undef HAVE_WCSFTIME
392
+#endif
393
394
#ifdef HAVE_STRFTIME
395
#ifdef HAVE_WCSFTIME
396
#define time_char wchar_t
0 commit comments