calendar.LocaleTextCalendar

class calendar.LocaleTextCalendar(firstweekday=0, locale=None)

This subclass of TextCalendar can be passed a locale name in the constructor and will return month and weekday names in the specified locale. If this locale includes an encoding all strings containing month and weekday names will be returned as unicode.

doc_python
2016-10-07 17:28:18
Comments
Leave a Comment

Please login to continue.