gh-91928: Add what's new entry for datetime.UTC alias (GH-92567)

I merged this without a What's New entry to avoid merge conflicts, so here's the follow-up adding the entry.

@Kab1r do you mind reviewing?

Closes GH-91928

Automerge-Triggered-By: GH:pganssle
(cherry picked from commit a0a825c38a)

Co-authored-by: Paul Ganssle <1377457+pganssle@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2022-05-09 21:07:05 -07:00 committed by GitHub
parent a51baec9ce
commit 2d38a2f5b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -434,6 +434,8 @@ asyncio
datetime datetime
-------- --------
* Add :attr:`datetime.UTC`, a convenience alias for
:attr:`datetime.timezone.utc`. (Contributed by Kabir Kwatra in :gh:`91973`.)
* :meth:`datetime.date.fromisoformat`, :meth:`datetime.time.fromisoformat` and * :meth:`datetime.date.fromisoformat`, :meth:`datetime.time.fromisoformat` and
:meth:`datetime.datetime.fromisoformat` can now be used to parse most ISO 8601 :meth:`datetime.datetime.fromisoformat` can now be used to parse most ISO 8601
formats (barring only those that support fractional hours and minutes). formats (barring only those that support fractional hours and minutes).