summaryrefslogtreecommitdiffstats
path: root/Doc/library/datetime.rst
Commit message (Collapse)AuthorAgeFilesLines
* merge with 3.3Georg Brandl2013-10-291-1/+1
|\
| * Fix typo: js_JP is not a valid locale.Georg Brandl2013-10-291-1/+1
| |
* | merge with 3.3Georg Brandl2013-10-131-1/+2
|\ \ | |/
| * Refer to strftime(3) manpage for platform specific format codes.Georg Brandl2013-10-131-1/+2
| | | | | | | | Suggested by Skip Montanaro on docs@.
| * Remove errant fourth '.' from ellipsis in datetime documentation.David Wolever2013-08-141-2/+2
| |
* | Remove errant fourth '.' from ellipsis in datetime documentation.David Wolever2013-08-141-1/+1
| |
* | Merge issue #17701: Improving strftime documentation.David Wolever2013-08-121-138/+166
|\ \ | |/
| * Issue #17701: Improving strftime documentation.David Wolever2013-08-121-138/+166
| |
* | Fixes #8860: Round half-microseconds to even in the timedelta constructor.Alexander Belopolsky2013-08-041-4/+6
|/ | | | (Original patch by Mark Dickinson.)
* #8913: add examples and docs for date/time/datetime.__format__. Patch by ↵Ezio Melotti2013-04-041-0/+27
| | | | Heikki Partanen.
* Fix typoAndrew Svetlov2012-12-171-1/+1
|\
| * Fix typoAndrew Svetlov2012-12-171-1/+1
| |
* | issue13666 - merge from 3.2Senthil Kumaran2012-06-261-10/+9
|\ \ | |/
| * issue13666 - Fixing datetime documentation example when using tzinfoSenthil Kumaran2012-06-261-10/+9
| |
* | Add yet another missing versionchanged.Georg Brandl2012-06-261-0/+3
| |
* | Fix markup, for real this time.Georg Brandl2012-06-241-2/+0
| |
* | Fix indentationÉric Araujo2012-06-241-4/+4
| |
* | Issue #9527: datetime.astimezone() method will now supply a classAlexander Belopolsky2012-06-221-3/+8
| | | | | | | | | | 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-2/+18
| | | | | | | | or datetime objects.
* | Issue #2736: Added datetime.timestamp() method.Alexander Belopolsky2012-06-081-11/+33
| |
* | Merge #14766: Add correct algorithm for when a 'time' object is naive.R David Murray2012-05-151-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 Murray2012-05-151-18/+17
| |
| * #14766: Add correct algorithm for when a 'time' object is naive.R David Murray2012-05-151-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.2Sandro Tosi2012-04-281-5/+12
|\ \ | |/
| * Issue #14448: add reference to IANA timezone database; thanks to Georg/Nick ↵Sandro Tosi2012-04-281-5/+12
| | | | | | | | suggestions
* | Issue #14448: merge with 3.2Sandro Tosi2012-04-241-1/+9
|\ \ | |/
| * Issue #14448: mention pytz; patch by Andrew SvetlovSandro Tosi2012-04-241-1/+9
| |
* | Fix doc of datetime.date*.*fromtimestamp() methodsVictor Stinner2012-03-131-5/+9
| |
* | Issue #14180: datetime.date.fromtimestamp(), datetime.datetime.fromtimestamp()Victor Stinner2012-03-131-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 Stinner2012-03-131-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.2Sandro Tosi2011-11-011-2/+2
|\ \ | |/
| * correct signature for tzinfo.dst() in examples; thanks to Daniil Shved from ↵Sandro Tosi2011-11-011-2/+2
| | | | | | | | docs@
* | #13076: merge with 3.2.Ezio Melotti2011-10-021-76/+76
|\ \ | |/
| * #13076: fix links to datetime.time and datetime.datetime.Ezio Melotti2011-10-021-76/+76
| |
* | merge doc fixes from 3.2Georg Brandl2011-09-171-1/+1
|\ \ | |/
| * Fix typo.Georg Brandl2011-09-171-1/+1
| |
* | merge from 3.2Senthil Kumaran2011-07-171-18/+20
|\ \ | |/
| * Fix Issue10403 - datetime documentation clarification based on review in the ↵Senthil Kumaran2011-07-171-18/+20
| | | | | | | | reitveld by Alexendar belopolsky.
* | merge from 3.2Senthil Kumaran2011-07-041-1/+1
|\ \ | |/
| * Fix whitespace nit in datetime and os rst files.Senthil Kumaran2011-07-041-1/+1
| |
* | Merge from 3.2 . Replace the term members with correct and appropriate ↵Senthil Kumaran2011-07-041-66/+67
|\ \ | |/ | | | | terminology. Initial patch by Adam Woodbeck.
| * issue10403 - Let's not use members anymore. Use 'attribute' where it denotes ↵Senthil Kumaran2011-07-041-66/+67
| | | | | | | | attribute and 'methods' where it denotes methods. Context should clarify usage.
* | Mention that timezone is a subclass of tzinfo.Alexander Belopolsky2011-05-041-5/+6
| |
* | Issue #11930: Added Misc/NEWS and versionchanged entries.Alexander Belopolsky2011-05-021-0/+4
| |
* | Issue #11930: Remove year >= 1000 limitation from datetime.strftime.Alexander Belopolsky2011-05-021-6/+2
| | | | | | | | Patch by Victor Stinner.
* | Issue #2736: Documented how to compute seconds since epoch.Alexander Belopolsky2011-04-251-0/+16
|/
* Improved footnote for the %Y directive slightly.Alexander Belopolsky2011-01-101-5/+5
|
* Improved description of %Y directive.Alexander Belopolsky2011-01-101-7/+16
|
* Issue #2568: Removed bogus rationale for supporting tm_sec=61.Alexander Belopolsky2011-01-101-11/+4
|
* Fixed documentation to reflect recent changes for years < 1900.Alexander Belopolsky2011-01-081-2/+6
|