dmedvinsky / gsimplecal

Simple and lightweight GTK calendar (BSD license)
http://dmedvinsky.github.io/gsimplecal
Other
197 stars 19 forks source link

Option to make the week start on Monday #18

Closed superjamie closed 10 years ago

superjamie commented 10 years ago

Currently gsimplecal displays the week starting on Sunday.

However, nobody in the world can agree which day the week starts on. Some people think it is Sunday, some people think it is Monday. This is similar to the perpetual "toilet paper facing the wall" and "toilet paper away from the wall" argument. Both Wolf (1999) and Hogan (2000) have cited the toliet paper orientation debate as a cause of struggle between married couples. Some might argue it is even a contributing factor to the growing divorce rate in western society.

Whilst saving marriages is probably outside the scope of function calls in GTK, it would be nice if gsimplecal could optionally display week starting on Monday.

dmedvinsky commented 10 years ago

Well, gsimplecal (GTK, actually) uses the information provided by current locale to determine what day is the first day of the week. There is a config option to force a locale for gsimplecal only, though, if you don't want to change it system-wide. Please consult the manual pages for more information: https://github.com/dmedvinsky/gsimplecal/blob/master/doc/gsimplecal.1#L159

superjamie commented 10 years ago

Ah, thanks. I had to set LC_TIME=en_GB.utf8 gsimplecal but that works fine.