jobsworth
jobsworth copied to clipboard
FR: Let the user choose the starting day of the week for the calendar
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.
Yes, good idea. It should default to Monday (why would you choose anything else?) but allow people to choose wierd options. :-)
Yeah, default to Monday would be great :)
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
Is this in the dev branch? There are some changes there.
Yes, I've modified these files in my dev setup and all my calendars now start on Monday (afaict)