[New-bugs-announce] [issue17659] First weekday

Izidor Matušov report at bugs.python.org
Mon Apr 8 10:48:03 CEST 2013


New submission from Izidor Matušov:

There is no way how to figure out the first weekday: Does a week start with Monday or Saturday? (Or any other day?)

According to documentation, module locale doesn't provide this information. Module calendar uses European convention (Monday is the first weekday).

Purpose of this issue is to have a way how to return first weekday (Monday, Sunday, etc)

Known workarounds:
  * http://blogs.gnome.org/patrys/2008/09/29/how-to-determine-the-first-day-of-week/
  * https://github.com/projecthamster/hamster/blob/master/src/hamster/lib/stuff.py#L153
  * http://stackoverflow.com/questions/4265697/how-to-determine-the-first-day-of-week-in-python

----------
components: Library (Lib)
messages: 186280
nosy: IzidorMatusov
priority: normal
severity: normal
status: open
title: First weekday
type: enhancement

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17659>
_______________________________________


More information about the New-bugs-announce mailing list