summaryrefslogtreecommitdiffstats
path: root/Lib/datetime.py
Commit message (Collapse)AuthorAgeFilesLines
* Closes #15973: fix a segmentation fault when comparing timezone objects.Georg Brandl2012-09-221-0/+2
|
* Issue #9527: tm_gmtoff has 'correct' sign.Alexander Belopolsky2012-06-221-3/+3
|
* Issue #9527: datetime.astimezone() method will now supply a classAlexander Belopolsky2012-06-221-2/+2
| | | | | timezone instance corresponding to the system local timezone when called with no arguments.
* Issue #9527: datetime.astimezone() method will now supply a classAlexander Belopolsky2012-06-221-2/+26
| | | | | timezone instance corresponding to the system local timezone when called with no arguments.
* Issue #15006: Allow equality comparison between naive and aware timeAlexander Belopolsky2012-06-161-8/+14
| | | | or datetime objects.
* Removed redundant codeAlexander Belopolsky2012-06-151-4/+2
|
* Issue #2736: Added datetime.timestamp() method.Alexander Belopolsky2012-06-081-1/+10
|
* Close #14180: Factorize code to convert a number of seconds to time_t, ↵Victor Stinner2012-03-131-2/+2
| | | | | | | | | | | | | timeval or timespec time.ctime(), gmtime(), time.localtime(), datetime.date.fromtimestamp(), datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp() now raises an OverflowError, instead of a ValueError, if the timestamp does not fit in time_t. datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp() now round microseconds towards zero instead of rounding to nearest with ties going away from zero.
* Merge with 3.2.Ezio Melotti2011-10-191-1/+1
|\
| * Remove duplication.Ezio Melotti2011-10-191-1/+1
| |
* | Issue #11930: Remove year >= 1000 limitation from datetime.strftime.Alexander Belopolsky2011-05-021-4/+0
|/ | | | Patch by Victor Stinner.
* Issue #11576: Fixed timedelta subtraction glitch on big timedelta valuesAlexander Belopolsky2011-04-061-1/+5
|
* Issue #1777412: extended year range of strftime down to 1000.Alexander Belopolsky2011-01-081-4/+4
|
* Issue 9183: Intern UTC timezone.Alexander Belopolsky2010-10-141-16/+23
|
* Fixed microsecond rounding in python version of utcfromtimestampAlexander Belopolsky2010-09-211-5/+10
|
* Make python version of fromtimestamp behave more like C.Alexander Belopolsky2010-07-261-9/+13
|
* Use _datetime docstring if _datetime is available.Alexander Belopolsky2010-07-231-0/+5
|
* Issue #7989: Added pure python implementation of the datetime module.Alexander Belopolsky2010-07-231-0/+2087