Commit Graph

53 Commits

Author SHA1 Message Date
Serhiy Storchaka
b4905efe23 Issue #26736: Used HTTPS for external links in the documentation if possible. 2016-05-07 10:50:12 +03:00
Martin Panter
ce9f8e2492 Issue #26678: Fix datetime.tzinfo indexing and “tzinfo” attribute links 2016-04-01 21:48:24 +00:00
Martin Panter
00f19eff3e Issue #25179: Preparatory cleanup of existing docs on string formatting
* 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
2016-02-08 01:34:09 +00:00
Benjamin Peterson
cf0d31c8ba fix relative link (closes #24057) 2015-04-25 14:15:16 -04:00
Georg Brandl
0f5d6c00b4 Fixing broken links in doc, part 4: some more breaks and redirects 2014-10-29 10:57:37 +01:00
Georg Brandl
06f3b3b98c Use https:// URLs when referring to python.org hosts. 2014-10-29 08:36:35 +01:00
Georg Brandl
b64f40f3e9 Fix typo: js_JP is not a valid locale. 2013-10-29 08:05:10 +01:00
Georg Brandl
1b1c11d208 Refer to strftime(3) manpage for platform specific format codes.
Suggested by Skip Montanaro on docs@.
2013-10-13 18:28:25 +02:00
David Wolever
a80d3a09fd Issue #18718: datetime documentation contradictory on leap second support 2013-08-14 14:33:54 -04:00
David Wolever
452dd38150 Issue #17701: Improving strftime documentation 2013-08-12 15:50:10 -04:00
David Wolever
bd9cbf0064 Clarify that strftime's encoding is based on locale 2013-05-23 17:42:14 -04:00
David Wolever
db6d10a8bb Remove Japanese datetime examples 2013-05-23 17:23:49 -04:00
David Wolever
0d2e78c275 Correct misleading strftime documentation.
strftime using locale-aware formatting directives will often, but not awlays,
produce UTF-8-encoded Unicode.
2013-04-13 22:40:11 -04:00
David Wolever
c7953ef73e Adding localized examples to strftime documentation. 2013-04-13 20:50:24 -04:00
David Wolever
73480ef578 Improving strftime documentation.
Re-ordering the table so similar directives are grouped together, adding
examples, and removing some redundancy in the description of the ``%f``
formatter.
2013-04-13 19:12:58 -04:00
Ezio Melotti
cfb63cd3b1 #8913: add examples and docs for date/time/datetime.__format__. Patch by Heikki Partanen. 2013-04-04 09:16:15 +03:00
Jason R. Coombs
86af58156b #16985: Remove incorrect phrase indication presence of non-present concrete UTC tzinfo instance. 2013-01-18 15:33:39 -05:00
Andrew Svetlov
766849b978 Document that hour in datetime.time ctor is optional parameter.
Thanks to Sean Munkel from docs@
2012-12-06 16:32:37 +02:00
Georg Brandl
e565cf805d Remove patch artifacts. 2012-08-21 19:44:00 +02:00
Senthil Kumaran
189bd91255 issue13666 - Fixing datetime documentation example when using tzinfo 2012-06-26 20:05:12 +08:00
R David Murray
8349bc2ba9 #14766: Reflow the altered paragraphs. 2012-05-14 22:33:36 -04:00
R David Murray
089d4d4f7c #14766: Add correct algorithm for when a 'time' object is naive.
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).
2012-05-14 22:32:44 -04:00
Sandro Tosi
aa31d52b80 Issue #14448: add reference to IANA timezone database; thanks to Georg/Nick suggestions 2012-04-28 11:19:11 +02:00
Sandro Tosi
13c598b1d8 Issue #14448: mention pytz; patch by Andrew Svetlov 2012-04-24 19:43:33 +02:00
Sandro Tosi
8d38fcf5a9 Refer to 'time' and 'datetime' submodules; thanks to Erik Johnson from docs@
This is needed after the move to Sphinx 1.x and it's the same way 3.x braches
managed it.
2012-02-18 20:28:35 +01:00