I have had users complaining about picking the wrong date, because they thought Sunday was Monday. It would be nice to have a datepicker with the "right" first day of the week.
No it's not in some countries, especially Europe. Monday is the first day of the week.Technically Sunday is the first day of the week.
No it's not in some countries, especially Europe. Monday is the first day of the week.
If you believe any religious stuff, "God created the world in 6 days. On the 7th day he rested." He didn't rest on the first day of the week.
True, but for a long time now Sunday has traditionally been the day of rest after 6 days of work. That makes it the end of the week and Monday the first day.And the sabbath was originally on Saturday
True, but for a long time now Sunday has traditionally been the day of rest after 6 days of work. That makes it the end of the week and Monday the first day.
Anyway, there should be an option to choose Sunday or Monday as the first day in the calendar.
I disagree on the flawed argument but really, it doesn't matter which of us is right for or wrong in this. What is important is that there should be an option to choose the first day of the week in the calendar.I completely agree that Monday is the start of the week but the whole "day of rest" reasoning is flawed.
lang:"_f",
lang:"_f",firstDay:1,
The working week starts on a Monday... It just doesn't make sense any other way.
As Mike says, there's no option for this.
There is, however, a way of achieving this with a small code edit. You would need to reapply this after each XF upgrade.
The file to change is:
js/xenforo/xenforo.js
Open that file and search for:
Code:lang:"_f",
That only appears once.
Change it to:
Code:lang:"_f",firstDay:1,
0 is Sunday (default), 1 is Monday, 2 is Tuesday etc... so change it to whatever you like, if you were to change it to 3 for some odd reason:
View attachment 85867
Still working for me on 1.4.7.This isn't working anymore for 1.4.7 (previously worked for 1.4.6). I changed the xenforo.sj file after the upgrade to 1.4.7 again of course, as I do it since 1.4.0.
Maybe because of caching? Usually it worked instantaneously but not this time.
As Mike says, there's no option for this.
There is, however, a way of achieving this with a small code edit. You would need to reapply this after each XF upgrade.
The file to change is:
js/xenforo/xenforo.js
Open that file and search for:
Code:lang:"_f",
That only appears once.
Change it to:
Code:lang:"_f",firstDay:1,
0 is Sunday (default), 1 is Monday, 2 is Tuesday etc... so change it to whatever you like, if you were to change it to 3 for some odd reason:
View attachment 85867
We use essential cookies to make this site work, and optional cookies to enhance your experience.