How do I get a list of localized month names for current locale? The
first thing that came to my mind was an ugly hack:

import datetime
for i in range(12):
    # as I remember, all months in 2005 had 1st in days
    datetime.date(2005, i + 1, 1).strftime('%B')

but I am sure there is a better way...

-- 
Jarek Zgoda
http://jpa.berlios.de/
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to