Issue 17701: Improving strftime documentation (original ) (raw )Created on 2013-04-12 00:06 by wolever , last changed 2022-04-11 14:57 by admin . This issue is now closed .
| Repositories containing patches | | | |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | | |
| https://wolever@bitbucket.org/wolever/cpython #2.7 | | | |
Messages (9)
msg186601 - (view)
Author: David Wolever (wolever) *
Date: 2013-04-12 00:06
The current strftime documentation isn't very helpful. It doesn't have examples, and the ordering is unhelpful. I've also moved some format-specific notes into the notes below the format-string-table, because the format string table is what 98%* of people care about. TODO before this can be merged: - Clean up note order - Check that it works with the Python 3 docs *: based on a sample size of 1
msg186605 - (view)
Author: Éric Araujo (eric.araujo) *
Date: 2013-04-12 03:38
Thanks for the patch, looks good. I’d put the versionadded block at the end of the note rather than the beginning, to match usual conventions.
msg186607 - (view)
Author: David Wolever (wolever) *
Date: 2013-04-12 04:24
Ah, yes — thanks Éric. I've fiddled with the wording on the %f note a bit so it makes more sense along with the versionadded, and removed the versionadded text, which is basically identical to the note and description.
msg186873 - (view)
Author: David Wolever (wolever) *
Date: 2013-04-14 01:20
Ok, I've added some locale examples and fixed up the note numbering. See diff in , and there is a live version to preview here: http://hul.wolever.net/python-doc/library/datetime.html#strftime-and-strptime-behavior If I can get a +1 on this, I'll port it to Python 3.
msg186880 - (view)
Author: David Wolever (wolever) *
Date: 2013-04-14 02:42
Fixed a misleading note about Unicode in localized formatters in .
msg189916 - (view)
Author: Éric Araujo (eric.araujo) *
Date: 2013-05-24 16:16
Looks good.
msg195001 - (view)
Author: Roundup Robot (python-dev)
Date: 2013-08-12 19:51
New changeset adbc9789a5e4 by David Wolever in branch '2.7': Issue #17701 : Improving strftime documentation http://hg.python.org/cpython/rev/adbc9789a5e4
msg195019 - (view)
Author: Roundup Robot (python-dev)
Date: 2013-08-12 21:15
New changeset 1d4b02d8fa8a by David Wolever in branch '3.3': Issue #17701 : Improving strftime documentation. http://hg.python.org/cpython/rev/1d4b02d8fa8a New changeset ab550dac6209 by David Wolever in branch 'default': Merge issue #17701 : Improving strftime documentation. http://hg.python.org/cpython/rev/ab550dac6209
msg195021 - (view)
Author: David Wolever (wolever) *
Date: 2013-08-12 21:23
Done, pushed to 2.7, 3.3, default.
History
Date
User
Action
Args
2022-04-11 14:57:44
admin
set
github: 61901
2013-08-12 21:23:46
wolever
set
status: open -> closedresolution: fixedmessages: +
2013-08-12 21:15:52
python-dev
set
messages: +
2013-08-12 19:51:22
python-dev
set
nosy: + python-dev messages: +
2013-05-24 16:16:33
eric.araujo
set
messages: +
2013-05-23 22:01:20
wolever
set
files: + 0f4d971b0cee.diff
2013-05-23 21:53:28
wolever
set
files: - 102b3e257dca.diff
2013-05-23 21:45:19
wolever
set
files: + 102b3e257dca.diff
2013-04-14 02:42:43
wolever
set
messages: +
2013-04-14 02:41:43
wolever
set
files: + 53a0e908f787.diff
2013-04-14 01:20:58
wolever
set
messages: +
2013-04-14 01:17:26
wolever
set
files: + ae18c5ae2c4d.diff
2013-04-14 01:16:55
wolever
set
files: - b3b1dcdc8cee.diff
2013-04-13 23:27:22
wolever
set
files: + b3b1dcdc8cee.diff
2013-04-13 23:19:57
wolever
set
hgrepos: + hgrepo182
2013-04-12 04:24:17
wolever
set
messages: +
2013-04-12 04:22:13
wolever
set
files: + strftime-docs.diff
2013-04-12 03:38:03
eric.araujo
set
versions: + Python 3.3, Python 3.4nosy: + eric.araujo messages: + stage: patch review
2013-04-12 00:08:09
alex
set
nosy: + alex
2013-04-12 00:06:03
wolever
create