Kevin Rasmussen <kj_...@hotmail.com> added the comment:

Question:
Why should it be zeropadded to 2?

Answer:
Why wouldn't it be zeropadded to match the rest of the library?

Honestly it just seemed like an inconsistency with the rest of the datetime 
module.

It caught me off guard when I went I tried to pull __str__ of a timedelta and 
the padding was different than what I saw elsewhere.

I figured it could potentially be a quick fix if the current behaviour is not 
desired.

I'm curious why that would have been rejected if it was even considered/noticed 
before.

Do you know of any good way to figure out if this was discussed before? So far 
all I have done for searching was a search of issues that were already brought 
up and I didn't find anything at first glance.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42817>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to