Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
pythoncapi
cpython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Lib
datetime.py
on
pythoncapi
User selector
All users
Datepicker
All time
Commit history
Commits on Jan 31, 2015
Issue #23326: Removed __ne__ implementations. Since fixing default __ne__
Show description for 08448a1
serhiy-storchaka
committed
08448a1
View commit details
Copy full SHA for 08448a1
View code at this point
Browse repository at this point
Commits on Sep 28, 2014
Closes issue #20858: Enhancements/fixes to pure-python datetime module
Show description for 6c7a418
abalkin
committed
6c7a418
View commit details
Copy full SHA for 6c7a418
View code at this point
Browse repository at this point
Commits on Jul 25, 2014
Issue #22033: Reprs of most Python implemened classes now contain actual
Show description for 465e60e
serhiy-storchaka
committed
465e60e
View commit details
Copy full SHA for 465e60e
View code at this point
Browse repository at this point
Commits on Mar 20, 2014
remove the ability of datetime.time to be considered false (closes #13936)
benjaminp
committed
ee6bdc0
View commit details
Copy full SHA for ee6bdc0
View code at this point
Browse repository at this point
Commits on Aug 29, 2013
improve comment
benjaminp
committed
da0bea2
View commit details
Copy full SHA for da0bea2
View code at this point
Browse repository at this point
make lists uniformly integers for the benefit of pypy
benjaminp
committed
f908efb
View commit details
Copy full SHA for f908efb
View code at this point
Browse repository at this point
Commits on Aug 27, 2013
Issue #18783: Removed existing mentions of Python long type in docstrings,
Show description for 46e1ce2
serhiy-storchaka
committed
46e1ce2
View commit details
Copy full SHA for 46e1ce2
View code at this point
Browse repository at this point
Issue #18783: Removed existing mentions of Python long type in docstrings,
Show description for 9594942
serhiy-storchaka
committed
9594942
View commit details
Copy full SHA for 9594942
View code at this point
Browse repository at this point
Commits on Aug 17, 2013
#18705: merge with 3.3.
ezio-melotti
committed
9a3777e
View commit details
Copy full SHA for 9a3777e
View code at this point
Browse repository at this point
#18705: fix a number of typos. Patch by Févry Thibault.
ezio-melotti
committed
30b9d5d
View commit details
Copy full SHA for 30b9d5d
View code at this point
Browse repository at this point
Commits on Jul 4, 2013
Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)
brettcannon
committed
cd171c8
View commit details
Copy full SHA for cd171c8
View code at this point
Browse repository at this point
Commits on Jun 14, 2013
Issue #18200: Update the stdlib (except tests) to use
Show description for 0a14066
brettcannon
committed
0a14066
View commit details
Copy full SHA for 0a14066
View code at this point
Browse repository at this point
Commits on Apr 13, 2013
#17571: merge with 3.3.
ezio-melotti
committed
d24abee
View commit details
Copy full SHA for d24abee
View code at this point
Browse repository at this point
#17571: remove broken links in datetime.py docstring.
ezio-melotti
committed
f756f94
View commit details
Copy full SHA for f756f94
View code at this point
Browse repository at this point
Commits on Mar 26, 2013
Issue #17516: use comment syntax for comments, instead of multiline string
vstinner
committed
765531d
View commit details
Copy full SHA for 765531d
View code at this point
Browse repository at this point
Commits on Sep 22, 2012
Closes #15973: fix a segmentation fault when comparing timezone objects.
birkenfeld
committed
0085a24
View commit details
Copy full SHA for 0085a24
View code at this point
Browse repository at this point
Commits on Jun 22, 2012
Issue #9527: tm_gmtoff has 'correct' sign.
abalkin
committed
93c9cd0
View commit details
Copy full SHA for 93c9cd0
View code at this point
Browse repository at this point
Issue #9527: datetime.astimezone() method will now supply a class
Show description for ff493c9
abalkin
committed
ff493c9
View commit details
Copy full SHA for ff493c9
View code at this point
Browse repository at this point
Issue #9527: datetime.astimezone() method will now supply a class
Show description for fdc860f
abalkin
committed
fdc860f
View commit details
Copy full SHA for fdc860f
View code at this point
Browse repository at this point
Commits on Jun 16, 2012
Issue #15006: Allow equality comparison between naive and aware time
Show description for 0831382
abalkin
committed
0831382
View commit details
Copy full SHA for 0831382
View code at this point
Browse repository at this point
Commits on Jun 15, 2012
Removed redundant code
abalkin
committed
016ef55
View commit details
Copy full SHA for 016ef55
View code at this point
Browse repository at this point
Commits on Jun 8, 2012
Issue #2736: Added datetime.timestamp() method.
abalkin
committed
a441514
View commit details
Copy full SHA for a441514
View code at this point
Browse repository at this point
Commits on Mar 13, 2012
Close #14180: Factorize code to convert a number of seconds to time_t, timeval or timespec
Show description for 5d272cc
vstinner
committed
5d272cc
View commit details
Copy full SHA for 5d272cc
View code at this point
Browse repository at this point
Commits on Oct 19, 2011
Merge with 3.2.
ezio-melotti
committed
f106449
View commit details
Copy full SHA for f106449
View code at this point
Browse repository at this point
Remove duplication.
ezio-melotti
committed
e130a52
View commit details
Copy full SHA for e130a52
View code at this point
Browse repository at this point
Commits on May 2, 2011
Issue #11930: Remove year >= 1000 limitation from datetime.strftime.
Show description for 89da349
abalkin
committed
89da349
View commit details
Copy full SHA for 89da349
View code at this point
Browse repository at this point
Commits on Apr 6, 2011
Issue #11576: Fixed timedelta subtraction glitch on big timedelta values
abalkin
committed
b6f5ec7
View commit details
Copy full SHA for b6f5ec7
View code at this point
Browse repository at this point
Commits on Jan 8, 2011
Issue #1777412: extended year range of strftime down to 1000.
abalkin
committed
b8bb466
View commit details
Copy full SHA for b8bb466
View code at this point
Browse repository at this point
Commits on Oct 14, 2010
Issue 9183: Intern UTC timezone.
abalkin
committed
1bcbaab
View commit details
Copy full SHA for 1bcbaab
View code at this point
Browse repository at this point
Commits on Sep 21, 2010
Fixed microsecond rounding in python version of utcfromtimestamp
abalkin
committed
3e62f78
View commit details
Copy full SHA for 3e62f78
View code at this point
Browse repository at this point
Commits on Jul 26, 2010
Make python version of fromtimestamp behave more like C.
abalkin
committed
aeb0398
View commit details
Copy full SHA for aeb0398
View code at this point
Browse repository at this point
Commits on Jul 23, 2010
Use _datetime docstring if _datetime is available.
abalkin
committed
a565874
View commit details
Copy full SHA for a565874
View code at this point
Browse repository at this point
Issue #7989: Added pure python implementation of the datetime module.
abalkin
committed
cf86e36
View commit details
Copy full SHA for cf86e36
View code at this point
Browse repository at this point
Loading
Previous
Next
You can’t perform that action at this time.