Closed
Bug 1054987
Opened 11 years ago
Closed 8 years ago
Should have option to start week on Monday (ISO weeks)
Categories
(Firefox OS Graveyard :: Gaia::Calendar, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: hsivonen, Unassigned)
References
Details
Steps to reproduce:
1) Use Flame.
2) Use nightly Gecko+Gaia
3) Use U.S. English as the UI language
4) Make sure Calendar has been set up
5) View the calendar
6) View the settings UI of the Calendar app.
Actual results:
Weeks start on Sunday, U.S. style. There is no setting for showing Monday as the first day of the week in conformance with the ISO standard followed in Europe.
Expected results:
Expected to be able to use (as an option) the international stardard notion of what the first day of the week is even when using the U.S. English UI language.
Comment 1•11 years ago
|
||
Does that mean some localizations have monday as first day and I should file a bug to the localization if it doesn't have the right one? (although I would love the choise to set the first day independant of the locale.
Comment 2•11 years ago
|
||
Mark: yes, many localizations use Monday as first day of the week - see http://en.wikipedia.org/wiki/Sunday#Position_in_the_week
Actually there is a locale specific setting in the shared/date/date.properties localization file:
206 # Boolean to indicate if weekStarts on Monday (1) or Sunday (0).
207 weekStartsOnMonday = 1
https://hg.mozilla.org/gaia-l10n/hu/file/36d6fbb23cb2/shared/date/date.properties#l206
But it could be useful to make this option configurable in the UI as well, in case someone would like to use their phone in one language but different culture - tourists, expats or people just unhappy with their localization come to my mind.
Comment 3•11 years ago
|
||
(In reply to kelemeng from comment #2)
> Mark: yes, many localizations use Monday as first day of the week - see
> http://en.wikipedia.org/wiki/Sunday#Position_in_the_week
> 207 weekStartsOnMonday = 1
Looks like it is like this for german too, but calendar doesn't seem to pick that up on my flame.
Probably worth a new bugreport.
![]() |
||
Comment 4•11 years ago
|
||
(In reply to Mark Trompell from comment #3)
> (In reply to kelemeng from comment #2)
> > 207 weekStartsOnMonday = 1
> Looks like it is like this for german too, but calendar doesn't seem to pick
> that up on my flame.
> Probably worth a new bugreport.
calendar changed the way we handle the first day of the week recently since on some locales the week starts on Saturday.. so that's probably why you are getting the wrong value, now we use `firstDayOfWeek` instead of `weekStartsOnMonday` [1]
[1] https://hg.mozilla.org/gaia-l10n/en-US/file/07161b0ca543/shared/date/date.properties#l212
See Also: → 1127770
Comment 6•8 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•