summaryrefslogtreecommitdiffstats
path: root/Lib/test/datetimetester.py
Commit message (Collapse)AuthorAgeFilesLines
* #18466: merge with 3.3.Ezio Melotti2013-08-171-1/+1
|\
| * #18466: fix more typos. Patch by Févry Thibault.Ezio Melotti2013-08-171-1/+1
| |
* | Fixes #8860: Round half-microseconds to even in the timedelta constructor.Alexander Belopolsky2013-08-041-0/+4
|/ | | | (Original patch by Mark Dickinson.)
* 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-2/+4
|
* 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-3/+18
| | | | | 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-6/+6
| | | | or datetime objects.
* Relax datetime.timestamp() test around DST changeAlexander Belopolsky2012-06-081-1/+1
|
* Relax datetime.timestamp() test around DST changeAlexander Belopolsky2012-06-081-3/+3
|
* Issue #2736: Added datetime.timestamp() method.Alexander Belopolsky2012-06-081-0/+36
|
* Issue #14180: TestDateTime.test_microsecond_rounding() handles localtime() andVictor Stinner2012-03-131-10/+15
| | | | gmtime() failure on Windows
* Close #14180: Factorize code to convert a number of seconds to time_t, ↵Victor Stinner2012-03-131-7/+27
| | | | | | | | | | | | | 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 3.2: Issue #13703 plus some related test suite fixes.Georg Brandl2012-02-201-2/+0
|\
| * Fix obscure failures of datetime-related tests due to the datetime tests ↵Georg Brandl2012-02-201-2/+0
| | | | | | | | failing to restore the system state completely after testing the pure-Python versions.
* | Strengthen the tests for format '%Y', in relation with issue #13305.Florent Xicluna2011-11-011-2/+10
| |
* | Relax %Y test.Alexander Belopolsky2011-05-021-2/+2
| |
* | Issue #11930: Remove year >= 1000 limitation from datetime.strftime.Alexander Belopolsky2011-05-021-6/+4
|/ | | | Patch by Victor Stinner.
* Issue #11576: Fixed timedelta subtraction glitch on big timedelta valuesAlexander Belopolsky2011-04-061-0/+6
|
* #11565: Merge with 3.1.Ezio Melotti2011-03-161-1/+1
|
* Issue #1777412: extended year range of strftime down to 1000.Alexander Belopolsky2011-01-081-3/+3
|
* Issue 10825: Minor updates to the test suite.Raymond Hettinger2011-01-061-1/+1
|
* Issue #6697: Fixed instances of _PyUnicode_AsString() result not checked for ↵Alexander Belopolsky2010-12-081-1/+7
| | | | NULL
* Issue #10624: Use support.requires_IEEE_754 in all appropriate tests.Eric Smith2010-12-041-7/+2
|
* Issue 9183: Intern UTC timezone.Alexander Belopolsky2010-10-141-1/+3
|
* Fixed microsecond rounding in python version of utcfromtimestampAlexander Belopolsky2010-09-211-4/+4
|
* #9440: Remove borderline test case that fails based on unpredictable ↵Georg Brandl2010-07-311-4/+0
| | | | conditions such as compiler flags.
* Make python version of fromtimestamp behave more like C.Alexander Belopolsky2010-07-261-1/+7
|
* Issue #7989: Added pure python implementation of the datetime module.Alexander Belopolsky2010-07-231-0/+3674