This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Add some dicts to datetime module
Type: enhancement Stage:
Components: Library (Lib) Versions:
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: Nosy List: georg.brandl, gregory_p
Priority: normal Keywords:

Created on 2006-06-14 20:15 by gregory_p, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg54833 - (view) Author: Gregory Petrosyan (gregory_p) Date: 2006-06-14 20:15
I think it would be nice to have dicts like

weekdays = {0:'Monday', ...}
isoweekdays = {1:'Monday', ...}
months = {1:'January', ...}

in the datetime module. IMO they are rather usefull.

--
Regards, Gregory.

msg54834 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2006-06-14 20:57
Logged In: YES 
user_id=849994

See #1506296.
History
Date User Action Args
2022-04-11 14:56:18adminsetgithub: 43502
2006-06-14 20:15:27gregory_pcreate