History for Lib/datetime.py - python/cpython · GitHub

github.com

GitHub CopilotWrite better code with AI | MCP RegistryIntegrate external tools | ActionsAutomate any workflow | CodespacesInstant dev environments | IssuesPlan and track work | Code ReviewManage code changes | Code QualityEnforce quality at merge | Why GitHub | Marketplace | View all features | Enterprises | Small and medium teams | Startups | View all use cases | View all industries | View all solutions | AI | Software Development | DevOps | Security | View all topics | Customer stories | Events & webinars | Ebooks & reports | Business insights | Trust center | Partners | View all resources

Tin mới

gh-123843: Remove broken links to the Zope DateTimeWiki (#123846)

gh-123843: Remove broken links to the Zope DateTimeWiki (#123846)

gh-120417: Add #noqa to used imports in the stdlib (#120421)

gh-120417: Add #noqa to used imports in the stdlib (#120421)

gh-84976: Add back UTC to datetime.__all__ (#104920)

gh-84976: Add back UTC to datetime.__all__ (#104920)

GH-84976: Re-introduce `datetime.py` and fix reprs

GH-84976: Re-introduce `datetime.py` and fix reprs

GH-84976: Move Lib/datetime.py to Lib/_pydatetime

GH-84976: Move Lib/datetime.py to Lib/_pydatetime

GH-103857: Deprecate utcnow and utcfromtimestamp (#103858)

GH-103857: Deprecate utcnow and utcfromtimestamp (#103858)

gh-83861: Fix datetime.astimezone() method (GH-101545)

gh-83861: Fix datetime.astimezone() method (GH-101545)

Trivial Change: Remove unhelpful doc in `datetime.timedelta` (#100164)

Trivial Change: Remove unhelpful doc in `datetime.timedelta` (#100164)

gh-85432: Harmonise parameter names between C and pure-Python implementations of `datetime.time.strftime`, `datetime.datetime.fromtimestamp` (#99993)

gh-85432: Harmonise parameter names between C and pure-Python implementations of `datetime.time.strftime`, `datetime.datetime.fromtimestamp` (#99993)

bpo-41260: C impl of datetime.date.strftime() takes different keyword arg (GH-21712)

bpo-41260: C impl of datetime.date.strftime() takes different keyword arg (GH-21712)

gh-98378: Add small format string example to strftime comments (GH-98379)

gh-98378: Add small format string example to strftime comments (GH-98379)

gh-69142: add %:z strftime format code (gh-95983)

gh-69142: add %:z strftime format code (gh-95983)

Check result of utc_to_seconds and skip fold probe in pure Python (#91582)

Check result of utc_to_seconds and skip fold probe in pure Python (#91582)

gh-80010: Expand fromisoformat to include most of ISO-8601 (#92177)

gh-80010: Expand fromisoformat to include most of ISO-8601 (#92177)

gh-91928: Add `datetime.UTC` alias for `datetime.timezone.utc` (GH-91973)

gh-91928: Add `datetime.UTC` alias for `datetime.timezone.utc` (GH-91973)

bpo-26579: Add object.__getstate__(). (GH-2821)

bpo-26579: Add object.__getstate__(). (GH-2821)

Fix typo (GH-23019)

Fix typo (GH-23019)

bpo-41966: Fix pickling pure datetime.time subclasses (GH-22731)

bpo-41966: Fix pickling pure datetime.time subclasses (GH-22731)

bpo-41867: List options for timespec in docstrings of isoformat methods (GH-22418)

bpo-41867: List options for timespec in docstrings of isoformat methods (GH-22418)

bpo-37999: No longer use __int__ in implicit integer conversions. (GH-15636)

bpo-37999: No longer use __int__ in implicit integer conversions. (GH-15636)

bpo-24416: Return named tuple from date.isocalendar() (GH-20113)

bpo-24416: Return named tuple from date.isocalendar() (GH-20113)

bpo-38155: Add __all__ to datetime module (GH-16203)

bpo-38155: Add __all__ to datetime module (GH-16203)

bpo-37642: Update acceptable offsets in timezone (GH-14878)

bpo-37642: Update acceptable offsets in timezone (GH-14878)

bpo-37685: Fixed comparisons of datetime.timedelta and datetime.timezone. (GH-14996)

bpo-37685: Fixed comparisons of datetime.timedelta and datetime.timezone. (GH-14996)

bpo-37579: Improve equality behavior for pure Python datetime and time (GH-14726)

bpo-36004: Add date.fromisocalendar (GH-11888)

bpo-36048: Use __index__() instead of __int__() for implicit conversion if available. (GH-11952)

bpo-32417: Make timedelta arithmetic respect subclasses (#10902)

bpo-22005: Fixed unpickling instances of datetime classes pickled by Python 2. (GH-11017)

bpo-34454: Clean up datetime.fromisoformat surrogate handling (GH-8959)

bpo-29097: Forego fold detection on windows for low timestamp values (GH-2385)

bpo-33812: Corrected astimezone for naive datetimes. (GH-7578)

bpo-33810 Remove unused code from datetime.py. (GH-7549)

bpo-15873: Implement [date][time].fromisoformat (#4699)

bpo-31222: Make (datetime|date|time).replace return subclass type in Pure Python (#4176)

1 1