On 2018-09-12 02:00, Ethan Furman wrote:
On 09/11/2018 05:21 PM, Barry Warsaw wrote:
MRAB wrote on 9/11/18 16:06:

Perhaps we could have a single format code plus an optional '#' for the "alternate form":

%T for short form
%#T for fully qualified name

OTOH, if %T and variants meant "type" but %t mean something entirely different, that *would* probably be confusing.

I think folks used to %-formatting are already used to un-related but
similar codes (and related but dissimilar):

- %M for minute
- %m for month  (or maybe I have that backwards)
- %H for 24-hour clock
- %I for 12-hour clock
- %w for weekday as decimal number
- %W for week number of the year

I always have to look it up.  :(

Well, for the time of day (24-hour) it's %H:%M:%S, all uppercase.
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to