Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix markup, for real this time. | Georg Brandl | 2012-06-24 | 1 | -2/+0 |
| | |||||
* | Fix indentation | Éric Araujo | 2012-06-24 | 1 | -4/+4 |
| | |||||
* | Issue #9527: datetime.astimezone() method will now supply a class | Alexander Belopolsky | 2012-06-22 | 1 | -3/+8 |
| | | | | | timezone instance corresponding to the system local timezone when called with no arguments. | ||||
* | Issue #15006: Allow equality comparison between naive and aware time | Alexander Belopolsky | 2012-06-16 | 1 | -2/+18 |
| | | | | or datetime objects. | ||||
* | Issue #2736: Added datetime.timestamp() method. | Alexander Belopolsky | 2012-06-08 | 1 | -11/+33 |
| | |||||
* | Merge #14766: Add correct algorithm for when a 'time' object is naive. | R David Murray | 2012-05-15 | 1 | -26/+39 |
|\ | | | | | | | | | | | | | This patch also clarifies the definition of Naive and Aware. Original patch by Greg Weller, I modified the first hunk somewhat to make the exposition even clearer (I hope). | ||||
| * | #14766: Reflow the altered paragraphs. | R David Murray | 2012-05-15 | 1 | -18/+17 |
| | | |||||
| * | #14766: Add correct algorithm for when a 'time' object is naive. | R David Murray | 2012-05-15 | 1 | -12/+26 |
| | | | | | | | | | | | | | | This patch also clarifies the definition of Naive and Aware. Original patch by Greg Weller, I modified the first hunk somewhat to make the exposition even clearer (I hope). | ||||
* | | Issue #14448: merge with 3.2 | Sandro Tosi | 2012-04-28 | 1 | -5/+12 |
|\ \ | |/ | |||||
| * | Issue #14448: add reference to IANA timezone database; thanks to Georg/Nick ↵ | Sandro Tosi | 2012-04-28 | 1 | -5/+12 |
| | | | | | | | | suggestions | ||||
* | | Issue #14448: merge with 3.2 | Sandro Tosi | 2012-04-24 | 1 | -1/+9 |
|\ \ | |/ | |||||
| * | Issue #14448: mention pytz; patch by Andrew Svetlov | Sandro Tosi | 2012-04-24 | 1 | -1/+9 |
| | | |||||
* | | Fix doc of datetime.date*.*fromtimestamp() methods | Victor Stinner | 2012-03-13 | 1 | -5/+9 |
| | | |||||
* | | Issue #14180: datetime.date.fromtimestamp(), datetime.datetime.fromtimestamp() | Victor Stinner | 2012-03-13 | 1 | -3/+7 |
| | | | | | | | | | | and datetime.datetime.utcfromtimestamp() now raise an OSError instead of ValueError if localtime() or gmtime() failed. | ||||
* | | Close #14180: Factorize code to convert a number of seconds to time_t, ↵ | Victor Stinner | 2012-03-13 | 1 | -1/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | Sandro Tosi | 2011-11-01 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | correct signature for tzinfo.dst() in examples; thanks to Daniil Shved from ↵ | Sandro Tosi | 2011-11-01 | 1 | -2/+2 |
| | | | | | | | | docs@ | ||||
* | | #13076: merge with 3.2. | Ezio Melotti | 2011-10-02 | 1 | -76/+76 |
|\ \ | |/ | |||||
| * | #13076: fix links to datetime.time and datetime.datetime. | Ezio Melotti | 2011-10-02 | 1 | -76/+76 |
| | | |||||
* | | merge doc fixes from 3.2 | Georg Brandl | 2011-09-17 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fix typo. | Georg Brandl | 2011-09-17 | 1 | -1/+1 |
| | | |||||
* | | merge from 3.2 | Senthil Kumaran | 2011-07-17 | 1 | -18/+20 |
|\ \ | |/ | |||||
| * | Fix Issue10403 - datetime documentation clarification based on review in the ↵ | Senthil Kumaran | 2011-07-17 | 1 | -18/+20 |
| | | | | | | | | reitveld by Alexendar belopolsky. | ||||
* | | merge from 3.2 | Senthil Kumaran | 2011-07-04 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fix whitespace nit in datetime and os rst files. | Senthil Kumaran | 2011-07-04 | 1 | -1/+1 |
| | | |||||
* | | Merge from 3.2 . Replace the term members with correct and appropriate ↵ | Senthil Kumaran | 2011-07-04 | 1 | -66/+67 |
|\ \ | |/ | | | | | terminology. Initial patch by Adam Woodbeck. | ||||
| * | issue10403 - Let's not use members anymore. Use 'attribute' where it denotes ↵ | Senthil Kumaran | 2011-07-04 | 1 | -66/+67 |
| | | | | | | | | attribute and 'methods' where it denotes methods. Context should clarify usage. | ||||
* | | Mention that timezone is a subclass of tzinfo. | Alexander Belopolsky | 2011-05-04 | 1 | -5/+6 |
| | | |||||
* | | Issue #11930: Added Misc/NEWS and versionchanged entries. | Alexander Belopolsky | 2011-05-02 | 1 | -0/+4 |
| | | |||||
* | | Issue #11930: Remove year >= 1000 limitation from datetime.strftime. | Alexander Belopolsky | 2011-05-02 | 1 | -6/+2 |
| | | | | | | | | Patch by Victor Stinner. | ||||
* | | Issue #2736: Documented how to compute seconds since epoch. | Alexander Belopolsky | 2011-04-25 | 1 | -0/+16 |
|/ | |||||
* | Improved footnote for the %Y directive slightly. | Alexander Belopolsky | 2011-01-10 | 1 | -5/+5 |
| | |||||
* | Improved description of %Y directive. | Alexander Belopolsky | 2011-01-10 | 1 | -7/+16 |
| | |||||
* | Issue #2568: Removed bogus rationale for supporting tm_sec=61. | Alexander Belopolsky | 2011-01-10 | 1 | -11/+4 |
| | |||||
* | Fixed documentation to reflect recent changes for years < 1900. | Alexander Belopolsky | 2011-01-08 | 1 | -2/+6 |
| | |||||
* | Fix errors found by "make suspicious". | Georg Brandl | 2010-10-06 | 1 | -1/+1 |
| | |||||
* | Migrate to Sphinx 1.0 C language constructs. | Georg Brandl | 2010-10-06 | 1 | -7/+7 |
| | |||||
* | Consistency check for versionadded/changed directives. | Georg Brandl | 2010-08-17 | 1 | -12/+9 |
| | |||||
* | #9430: document timedelta str() and repr(). | Georg Brandl | 2010-07-31 | 1 | -0/+18 |
| | |||||
* | Issue #9005: Prevent utctimetuple() from producing year 0 or year 10,000. | Alexander Belopolsky | 2010-06-21 | 1 | -4/+4 |
| | |||||
* | Added a new line at the end of the file. | Alexander Belopolsky | 2010-06-18 | 1 | -1/+1 |
| | |||||
* | Issue #6641: The datetime.strptime method now supports the %z directive. | Alexander Belopolsky | 2010-06-17 | 1 | -0/+7 |
| | |||||
* | Issue 5094: minor documentation fixes | Alexander Belopolsky | 2010-06-15 | 1 | -22/+22 |
| | |||||
* | Issue #5094: The ``datetime`` module now has a simple concrete class | Alexander Belopolsky | 2010-06-14 | 1 | -12/+82 |
| | | | | implementing ``datetime.tzinfo`` interface. | ||||
* | Merged revisions 81864 via svnmerge from | Alexander Belopolsky | 2010-06-09 | 1 | -1/+1 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81864 | alexander.belopolsky | 2010-06-09 13:08:11 -0400 (Wed, 09 Jun 2010) | 1 line Fixed markup of tm_isdst attribute. ........ | ||||
* | Merged revisions 81489 via svnmerge from | Alexander Belopolsky | 2010-06-08 | 1 | -7/+10 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81489 | georg.brandl | 2010-05-23 17:29:29 -0400 (Sun, 23 May 2010) | 1 line #1436346: make it more obvious that timetuple[7] is yday. ........ | ||||
* | Issue #1289118: datetime.timedelta objects can now be multiplied by float | Alexander Belopolsky | 2010-05-31 | 1 | -2/+12 |
| | | | | and divided by float and int objects. | ||||
* | Issue #8644: Improve accuracy of timedelta.total_seconds, by doing intermediate | Mark Dickinson | 2010-05-08 | 1 | -1/+4 |
| | | | | | | | computations with integer arithmetic instead of floating point. td.total_seconds() now agrees with td / timedelta(seconds = 1). Thanks Alexander Belopolsky for the patch. | ||||
* | Issue #2706: Add support for dividing a timedelta by another timedelta. | Mark Dickinson | 2010-04-20 | 1 | -2/+20 |
| | | | | | | | | | | | | | Adds support for the three division operations: - timedelta / timedelta -> float - timedelta // timedelta -> int - timedelta % timedelta -> timedelta also adds support for divmod(timedelta, timedelta). Patch by Victor Stinner, adapted for py3k and extended by Alexander Belopolsky. | ||||
* | Merged revisions 79184-79185 via svnmerge from | Georg Brandl | 2010-03-21 | 1 | -2/+2 |
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79184 | georg.brandl | 2010-03-21 10:58:36 +0100 (So, 21 Mär 2010) | 1 line Update text for newest US DST regulation. The sample file already has the calculation right. ........ r79185 | georg.brandl | 2010-03-21 11:02:47 +0100 (So, 21 Mär 2010) | 1 line Include structmember.h correctly. ........ |