]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-88994: Change `datetime.datetime.now` to half-even rounding (#134258)
authorJohn Keith Hohm <john@hohm.net>
Mon, 19 May 2025 20:48:55 +0000 (16:48 -0400)
committerGitHub <noreply@github.com>
Mon, 19 May 2025 20:48:55 +0000 (22:48 +0200)
commit470941782f74288823b445120f6383914b659f23
treeb07e6a2ef66ea222c3d711312e5555f0d1aebd2b
parent42d03f393313d8a228a45dad1d0897ea99f5ec89
gh-88994: Change `datetime.datetime.now` to half-even rounding (#134258)

Change `datetime.datetime.now` to half-even rounding
for consistency with `datetime.fromtimestamp`.
Misc/ACKS
Misc/NEWS.d/next/Library/2025-05-19-18-12-42.gh-issue-88994.7avvVu.rst [new file with mode: 0644]
Modules/_datetimemodule.c