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.

Author IzidorMatusov
Recipients IzidorMatusov, eric.araujo, r.david.murray, tshepang
Date 2013-04-13.07:37:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1365838642.78.0.246105247413.issue17659@psf.upfronthosting.co.za>
In-reply-to
Content
Yes, I need to find out calendar-week-start-day information based on the current locale.

Or in the other words, I need to find out what the correct parameter for calendar.Calendar([firstweekday]) object is. With locale en_US it should be Sunday, with locale sk_SK it should be Monday, and so on.

I guess it could be find out from LC_TIME locale.

There is already API for such small bits of information:

<documentation>
locale.localeconv()
Returns the database of the local conventions as a dictionary. This dictionary has the following strings as keys:
</documentation>

However, there is no category for LC_TIME so far.
History
Date User Action Args
2013-04-13 07:37:22IzidorMatusovsetrecipients: + IzidorMatusov, eric.araujo, r.david.murray, tshepang
2013-04-13 07:37:22IzidorMatusovsetmessageid: <1365838642.78.0.246105247413.issue17659@psf.upfronthosting.co.za>
2013-04-13 07:37:22IzidorMatusovlinkissue17659 messages
2013-04-13 07:37:22IzidorMatusovcreate