[issue13927] Extra spaces in the output of time.ctime

2018-12-27 Thread Harmandeep Singh
Harmandeep Singh added the comment: I have created a PR for the patch that I submitted, as this is my first contribution to the docs, I need to know that how do we decide if a change has to make an entry to `Misc/NEWS.d/next/` or needs `skip news` tag? -- nosy: -docs@python ___

[issue13927] Extra spaces in the output of time.ctime

2018-12-24 Thread Harmandeep Singh
Harmandeep Singh added the comment: I have created the PR as mentioned, I have added the example for time.ctime() and also added the note to time.asctime. -- pull_requests: +10527 stage: -> patch review versions: +Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8 __

[issue13927] Extra spaces in the output of time.ctime

2018-12-22 Thread Antti Haapala
Antti Haapala added the comment: This should be added to `asctime` too. The space-padded behaviour complies with the C standard which was the intent - after all, before it was using C `asctime` directly, and says that unlike C asctime, it doesn't have the newline character, meaning that as a

[issue13927] Extra spaces in the output of time.ctime

2016-10-13 Thread Harmandeep Singh
Changes by Harmandeep Singh : -- hgrepos: -360 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue13927] Extra spaces in the output of time.ctime

2016-10-13 Thread Harmandeep Singh
Harmandeep Singh added the comment: I was bored, I generated a patch for this. Hope this helps :) -- hgrepos: +360 keywords: +patch nosy: +harman786 Added file: http://bugs.python.org/file45073/ctime-doc.patch ___ Python tracker

[issue13927] Extra spaces in the output of time.ctime

2012-02-13 Thread R. David Murray
R. David Murray added the comment: Or you could give the strftime specification string that produces the equivalent output. -- nosy: +r.david.murray ___ Python tracker ___

[issue13927] Extra spaces in the output of time.ctime

2012-02-13 Thread STINNER Victor
STINNER Victor added the comment: > asctime() docs say it's a 24 char string. I'm not sure that all platform conform to this "specification"... which is not future proof! $ ./python Python 3.3.0a0 (default:af1a9508f7fa, Feb 14 2012, 01:18:15) [GCC 4.6.2 20111027 (Red Hat 4.6.2-1)] on linux

[issue13927] Extra spaces in the output of time.ctime

2012-02-02 Thread Georg Brandl
Georg Brandl added the comment: asctime() docs say it's a 24 char string. -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bu

[issue13927] Extra spaces in the output of time.ctime

2012-02-02 Thread Eric V. Smith
Eric V. Smith added the comment: That's definitely the expected behavior. It's the same as the C library version of ctime(). But I couldn't find it documented in the Python docs, so I'm changing this to a documentation issue. Thanks for the report. -- assignee: -> docs@python compo

[issue13927] Extra spaces in the output of time.ctime

2012-02-02 Thread Roger Caldwell
New submission from Roger Caldwell : Hi. I found this today and thought I would report. I could not find anywhere that it was expected behavior. When using time.ctime() to convert a date which only has 1 digit in the day position it returs a string with 2 spaces after the month vs one. exa