summaryrefslogtreecommitdiffstats
path: root/Doc/library/datetime.rst
Commit message (Collapse)AuthorAgeFilesLines
* bpo-34512: Document platform-specific strftime() behavior for non-ASCII ↵Miss Islington (bot)2019-01-121-0/+6
| | | | | | | format strings (GH-8948) (cherry picked from commit 1cffd0eed313011c0c2bb071c8affeb4a7ed05c7) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
* bpo-27741: Better wording for datetime.strptime() (GH-9994)Miss Islington (bot)2018-10-291-1/+3
| | | | | (cherry picked from commit c0799ec973530ad2492bb1d6c7287ffc428f0348) Co-authored-by: Gus Goulart <augusto@goulart.me>
* [2.7] bpo-33503: Fix the broken pypi link in the source and the ↵Stéphane Wirtel2018-05-161-1/+1
| | | | | | | documentation (GH-6814). (GH-6905) (cherry picked from commit 19177fbd5d6d9b29ccc302d65f9d9417ece082ce) Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>
* Issue #29078: Add the missing import in datetime.time doc example.Xiang Zhang2016-12-271-1/+1
| | | | Patch by Dhushyanth Ramasamy.
* Issue #21818: Fixed references to classes that have names matching with moduleSerhiy Storchaka2016-12-021-2/+2
| | | | names.
* Issue #26736: Used HTTPS for external links in the documentation if possible.Serhiy Storchaka2016-05-071-2/+2
|
* Issue #26678: Fix datetime.tzinfo indexing and “tzinfo” attribute linksMartin Panter2016-04-011-50/+53
|
* Issue #25179: Preparatory cleanup of existing docs on string formattingMartin Panter2016-02-081-3/+3
| | | | | | | | | * There was a link pointing to the section on the string.Formatter class (and multiple links in Python 3), 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 in Python 3; see Issue #19729 for instance
* fix relative link (closes #24057)Benjamin Peterson2015-04-251-2/+2
|
* Fixing broken links in doc, part 4: some more breaks and redirectsGeorg Brandl2014-10-291-1/+1
|
* Use https:// URLs when referring to python.org hosts.Georg Brandl2014-10-291-1/+1
|
* Fix typo: js_JP is not a valid locale.Georg Brandl2013-10-291-1/+1
|
* Refer to strftime(3) manpage for platform specific format codes.Georg Brandl2013-10-131-1/+2
| | | | Suggested by Skip Montanaro on docs@.
* Issue #18718: datetime documentation contradictory on leap second supportDavid Wolever2013-08-141-7/+3
|
* Issue #17701: Improving strftime documentationDavid Wolever2013-08-121-119/+141
|\
| * Clarify that strftime's encoding is based on localeDavid Wolever2013-05-231-4/+4
| |
| * Remove Japanese datetime examplesDavid Wolever2013-05-231-24/+12
| |
| * Correct misleading strftime documentation.David Wolever2013-04-141-2/+4
| | | | | | | | | | strftime using locale-aware formatting directives will often, but not awlays, produce UTF-8-encoded Unicode.
| * Adding localized examples to strftime documentation.David Wolever2013-04-141-28/+58
| |
| * Improving strftime documentation.David Wolever2013-04-131-122/+124
|/ | | | | | Re-ordering the table so similar directives are grouped together, adding examples, and removing some redundancy in the description of the ``%f`` formatter.
* #8913: add examples and docs for date/time/datetime.__format__. Patch by ↵Ezio Melotti2013-04-041-0/+27
| | | | Heikki Partanen.
* #16985: Remove incorrect phrase indication presence of non-present concrete ↵Jason R. Coombs2013-01-181-1/+1
| | | | UTC tzinfo instance.
* Document that hour in datetime.time ctor is optional parameter.Andrew Svetlov2012-12-061-1/+1
| | | | Thanks to Sean Munkel from docs@
* Remove patch artifacts.Georg Brandl2012-08-211-2/+2
|
* issue13666 - Fixing datetime documentation example when using tzinfoSenthil Kumaran2012-06-261-9/+8
|
* #14766: Reflow the altered paragraphs.R David Murray2012-05-151-18/+18
|
* #14766: Add correct algorithm for when a 'time' object is naive.R David Murray2012-05-151-10/+25
| | | | | | | 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: add reference to IANA timezone database; thanks to Georg/Nick ↵Sandro Tosi2012-04-281-5/+12
| | | | suggestions
* Issue #14448: mention pytz; patch by Andrew SvetlovSandro Tosi2012-04-241-0/+8
|
* Refer to 'time' and 'datetime' submodules; thanks to Erik Johnson from docs@Sandro Tosi2012-02-181-66/+66
| | | | | This is needed after the move to Sphinx 1.x and it's the same way 3.x braches managed it.
* update to new C roles and directivesSandro Tosi2012-01-141-7/+7
|
* correct signature for tzinfo.dst() in examples; thanks to Daniil Shved from ↵Sandro Tosi2011-11-011-2/+2
| | | | docs@
* #13076: fix links to datetime.time.Ezio Melotti2011-10-021-9/+9
|
* merge from 3.2 - Issue10403 - datetime module documentation changes based ↵Senthil Kumaran2011-07-171-18/+20
| | | | on review.
* Fix closes issue10403 - Let's not use members anymore.Senthil Kumaran2011-07-041-66/+67
|
* Merged revisions 85274 via svnmerge fromGeorg Brandl2010-10-061-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85274 | georg.brandl | 2010-10-06 12:26:05 +0200 (Mi, 06 Okt 2010) | 1 line Fix errors found by "make suspicious". ........
* Merged revisions 83328,83341 via svnmerge fromGeorg Brandl2010-08-011-0/+18
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83328 | raymond.hettinger | 2010-07-31 12:14:41 +0200 (Sa, 31 Jul 2010) | 1 line Document how to change OrderedDict update order from first to last. ........ r83341 | georg.brandl | 2010-07-31 13:40:07 +0200 (Sa, 31 Jul 2010) | 1 line #9430: document timedelta str() and repr(). ........
* Fixed markup of tm_isdst attribute.Alexander Belopolsky2010-06-091-1/+1
|
* #1436346: make it more obvious that timetuple[7] is yday.Georg Brandl2010-05-231-7/+10
|
* Issue #8644: Improve accuracy of timedelta.total_seconds method.Mark Dickinson2010-05-091-2/+6
| | | | (Backport of r80979 to py3k.) Thanks Alexander Belopolsky.
* Update text for newest US DST regulation. The sample file already has the ↵Georg Brandl2010-03-211-2/+2
| | | | calculation right.
* #7699: improve datetime docs: straightforward linking to strftime/strptime ↵Georg Brandl2010-01-171-39/+43
| | | | section, mark classmethods as such.
* Forgot to add a `versionadded` tagAntoine Pitrou2009-11-251-0/+2
|
* Issue #5788: `datetime.timedelta` objects get a new `total_seconds()` method ↵Antoine Pitrou2009-11-251-0/+10
| | | | | | returning the total number of seconds in the duration. Patch by Brian Quinlan.
* Fix doc typo reported by Arfrever.Mark Dickinson2009-11-031-1/+2
|
* typo (space-o?)Skip Montanaro2009-11-031-1/+1
|
* Fix markup.Georg Brandl2009-10-131-1/+1
|
* #6946: fix duplicate index entries for datetime classes.Georg Brandl2009-09-191-0/+4
|
* Clarify that datetime strftime does not produce leap seconds and datetimeR. David Murray2009-04-021-2/+6
| | | | | | | strptime does not accept it in the strftime behavior section of the datetime docs. Closes issue 2568.
* Minor spelling mistake in datetime docs.Brett Cannon2009-01-291-1/+1
|