Content-Length: 235871 | pFad | http://github.com/serhiy-storchaka/cpython/commit/629ff02cd4593b68bf4476bb78b660395aee191e

48 gh-52551: Use wcsftime() to implement time.strftime() on Windows · serhiy-storchaka/cpython@629ff02 · GitHub
Skip to content

Commit

Permalink
pythongh-52551: Use wcsftime() to implement time.strftime() on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
serhiy-storchaka committed Oct 17, 2024
1 parent ad3eac1 commit 629ff02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Use :c:func:`!wcsftime` to implement :func:`time.strftime` on Windows.
3 changes: 1 addition & 2 deletions Modules/timemodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -740,8 +740,7 @@ checktm(struct tm* buf)
}

#ifdef MS_WINDOWS
/* wcsftime() doesn't format correctly time zones, see issue #10653 */
# undef HAVE_WCSFTIME
# define HAVE_WCSFTIME
#endif
#define STRFTIME_FORMAT_CODES \
"Commonly used format codes:\n\
Expand Down

0 comments on commit 629ff02

Please sign in to comment.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/serhiy-storchaka/cpython/commit/629ff02cd4593b68bf4476bb78b660395aee191e

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy