What is the first day of the week ?

I know from experience that the US uses Sunday and most of the rest of the planet uses Monday.

Sadly, our computers do not, consistently, know.

Most computers have a "locale" setting.
A locale is a set of parameters that defines the user's language, country and any special variant preferences that the user wants to see in their user interface. Usually a locale identifier consists of at least a language identifier and a region identifier.

There is a spec, ISO/IEC 14652: Specification method for cultural conventions, which it defines formats for a number of specific cultural conventions in the areas of character classification and conversion, sorting, number formatting, monetary formatting, date formatting, message display, paper formats, addressing of persons, postal address formatting, telephone number handling, and a way to specify how much is covered and the status of it.

One of the parameters defined under LC_TIME is called "first_weekday". The worst part is that the spec says it is OPTIONAL. If it is not specified in your locale settings, Sunday is the default.

OK, now that I am finished ranting, the upshot of all this is that I am going to have to put a toggle on the calendar generator app to choose between Sunday and Monday as the first day of the displayed week. Does anyone out there use any other weekday ?

Syndicate content

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

sunday in egypt

I wanted to comment that the week starts on Sunday in Egypt, and perhaps other Middle Eastern countries. The work week is Sunday - Thursday, Friday is the holy day, and Saturday is also off.

I've been looking everywhere for calendars that start on Sunday, and they're really hard to find. Usually Sunday is smushed with Saturday on the previous week.

Saturday in Saudi Arabia

If my memory goes right !...
Friday is the week holiday