jobsworth icon indicating copy to clipboard operation
jobsworth copied to clipboard

FR: Let the user choose the starting day of the week for the calendar

Open oparoz opened this issue 14 years ago • 5 comments

In the preferences page, in the options section, the user can modify all kinds of options, but there is one missing: the starting day of the week.

I guess it could be automatic, based on the user's language and Timezone, but letting the user choose would be better.

oparoz avatar Sep 07 '10 18:09 oparoz

Yes, good idea. It should default to Monday (why would you choose anything else?) but allow people to choose wierd options. :-)

ari avatar Sep 08 '10 00:09 ari

Yeah, default to Monday would be great :)

oparoz avatar Sep 08 '10 01:09 oparoz

Here is a list of files which use the datepicker app/assets/javascripts/application.js.erb app/assets/javascripts/timeline.js.erb app/assets/javascripts/tasks/task_editor.js app/assets/javascripts/tasks/task_details_editor.js app/views/milestones/_form.html.erb app/views/billing/index.html.erb

The datepicker already has the dateFormat option and firstDay needs to be added. Value 1 is for Monday.

For the main calendar, I edited the vendor's js directly, but this is bad. vendor/assets/javascripts/fullcalendar.js

oparoz avatar Dec 03 '12 13:12 oparoz

Is this in the dev branch? There are some changes there.

ari avatar Dec 03 '12 22:12 ari

Yes, I've modified these files in my dev setup and all my calendars now start on Monday (afaict)

oparoz avatar Dec 03 '12 22:12 oparoz