Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #26678: Merge datetime doc fixes from 3.5 | Martin Panter | 2016-04-01 | 1 | -59/+63 |
|\ | |||||
| * | Issue #26678: Fix indexing of datetime.tzinfo and timezone classes | Martin Panter | 2016-04-01 | 1 | -59/+63 |
| | | | | | | | | Also fix links to the “tzinfo” class and attributes. | ||||
* | | Closes #19475: Added timespec to the datetime.isoformat() method. | Alexander Belopolsky | 2016-03-06 | 1 | -3/+67 |
| | | | | | | | | | | | | | | Added an optional argument timespec to the datetime isoformat() method to choose the precision of the time component. Original patch by Alessandro Cucci. | ||||
* | | Issue #25179: Documentation for formatted string literals aka f-strings | Martin Panter | 2016-02-13 | 1 | -3/+6 |
| | | | | | | | | | | Some of the inspiration and wording is taken from the text of PEP 498 by Eric V. Smith, and the existing str.format() documentation. | ||||
* | | Merge string formatting doc fixes from 3.5 | Martin Panter | 2016-02-08 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | Issue #25179: Preparatory cleanup of existing docs on string formatting | Martin Panter | 2016-02-08 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | * Various sections were pointing to the section on the string.Formatter class, when the section on the common format string syntax is probably more appropriate * Fix references to various format() functions and methods * Nested replacement fields may contain conversions and format specifiers, and this is tested; see Issue #19729 for instance | ||||
* | | Closes issue #12006: Add ISO 8601 year, week, and day directives to strptime. | Alexander Belopolsky | 2015-10-06 | 1 | -1/+36 |
| | | | | | | | | | | This commit adds %G, %V, and %u directives to strptime. Thanks Ashley Anderson for the implementation. | ||||
* | | Fix versionchanged directive in datetime.rst | Berker Peksag | 2015-09-09 | 1 | -2/+2 |
| | | |||||
* | | Closes Issue#22241: timezone.utc name is now plain 'UTC', not 'UTC-00:00'. | Alexander Belopolsky | 2015-09-06 | 1 | -7/+12 |
|/ | |||||
* | merge 3.4 (#24057) | Benjamin Peterson | 2015-04-25 | 1 | -2/+2 |
|\ | |||||
| * | fix relative link (closes #24057) | Benjamin Peterson | 2015-04-25 | 1 | -2/+2 |
| | | |||||
* | | Closes issue #22791: Improved datetime from timestamp methods documentation. | Alexander Belopolsky | 2015-03-01 | 1 | -5/+11 |
| | | | | | | | | Original patch by Akira Li. | ||||
* | | merge with 3.4 | Georg Brandl | 2014-10-29 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fixing broken links in doc, part 4: some more breaks and redirects | Georg Brandl | 2014-10-29 | 1 | -1/+1 |
| | | |||||
* | | Merge with 3.4 | Georg Brandl | 2014-10-29 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Use https:// URLs when referring to python.org hosts. | Georg Brandl | 2014-10-29 | 1 | -1/+1 |
| | | |||||
* | | merge 3.4 (#16667) | Benjamin Peterson | 2014-06-22 | 1 | -4/+6 |
|\ \ | |/ | |||||
| * | some timezone doc improvements (closes #16667) | Benjamin Peterson | 2014-06-22 | 1 | -4/+6 |
| | | | | | | | | From the combined efforts of Berber Peksage, Andrew Svetlov, and Yayoi Ukai. | ||||
* | | remove the ability of datetime.time to be considered false (closes #13936) | Benjamin Peterson | 2014-03-20 | 1 | -3/+6 |
| | | |||||
* | | #13437: link to the source code for a few more modules | Andrew Kuchling | 2014-03-19 | 1 | -0/+2 |
|/ | |||||
* | merge with 3.3 | Georg Brandl | 2013-10-29 | 1 | -1/+1 |
|\ | |||||
| * | Fix typo: js_JP is not a valid locale. | Georg Brandl | 2013-10-29 | 1 | -1/+1 |
| | | |||||
* | | merge with 3.3 | Georg Brandl | 2013-10-13 | 1 | -1/+2 |
|\ \ | |/ | |||||
| * | Refer to strftime(3) manpage for platform specific format codes. | Georg Brandl | 2013-10-13 | 1 | -1/+2 |
| | | | | | | | | Suggested by Skip Montanaro on docs@. | ||||
| * | Remove errant fourth '.' from ellipsis in datetime documentation. | David Wolever | 2013-08-14 | 1 | -2/+2 |
| | | |||||
* | | Remove errant fourth '.' from ellipsis in datetime documentation. | David Wolever | 2013-08-14 | 1 | -1/+1 |
| | | |||||
* | | Merge issue #17701: Improving strftime documentation. | David Wolever | 2013-08-12 | 1 | -138/+166 |
|\ \ | |/ | |||||
| * | Issue #17701: Improving strftime documentation. | David Wolever | 2013-08-12 | 1 | -138/+166 |
| | | |||||
* | | Fixes #8860: Round half-microseconds to even in the timedelta constructor. | Alexander Belopolsky | 2013-08-04 | 1 | -4/+6 |
|/ | | | | (Original patch by Mark Dickinson.) | ||||
* | #8913: add examples and docs for date/time/datetime.__format__. Patch by ↵ | Ezio Melotti | 2013-04-04 | 1 | -0/+27 |
| | | | | Heikki Partanen. | ||||
* | Fix typo | Andrew Svetlov | 2012-12-17 | 1 | -1/+1 |
|\ | |||||
| * | Fix typo | Andrew Svetlov | 2012-12-17 | 1 | -1/+1 |
| | | |||||
* | | issue13666 - merge from 3.2 | Senthil Kumaran | 2012-06-26 | 1 | -10/+9 |
|\ \ | |/ | |||||
| * | issue13666 - Fixing datetime documentation example when using tzinfo | Senthil Kumaran | 2012-06-26 | 1 | -10/+9 |
| | | |||||
* | | Add yet another missing versionchanged. | Georg Brandl | 2012-06-26 | 1 | -0/+3 |
| | | |||||
* | | 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. |