|
Hi Brian,
I made the change on my test system (Jira 3.4.3 enterprise) and it worked very well. Cheers Bettina Hi Brian,
I made the change on my test system (Jira 3.4.3 enterprise) and it worked very well. Cheers Bettina Hi Bettina,
Apologies for that, I neglected to test the change on Jira 3.3.3. To make the same change for 3.3.3, you will need to edit the file \atlassian-jira\secure\popups\calendar.jsp and make the same change as above. Let us know if this works for you. Thanks, In Austria, Germany, UK (and maybe many more) the first calendar week doesn't depend on our first day of week (monday), it's defined the first week with 4 days in the new year. This year it doesn't matter, because it's accidental the same, but it will be a problem in 3 or 4 years.
quote from wikipedia:
Hello Judith,
you are right, of course. Setting the first day of the week to monday only works for this year. To Atlassian: Cheers Bettina Hello,
my users found a second place where this error occurs. How can I change this second calendar? Why don't you just use one single copy of the popup calendar and configure it in one single place? Regards The same copy of the calendar is used. However it is invoked differently from different places. The main reason for this is that plugins cannot use JSPs and have to use velocity.
Does this mean there is no workaround in this case?
Bettina Hi,
I have managed to change the start of the week from Sunday to Monday at Project Administration - Manage Versions. //this.firstDayOfWeek = typeof firstDayOfWeek == "number" ? firstDayOfWeek : Calendar._FD; This is done in the includes\js\calendar\calendar.js. I guess this would override (hardcode) the value of the first day of the week (from 0 to 1). Regards, |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
It is possible for you to change the default setting by editing the velocity file atlassian-jira\WEB-INF\classes\templates\plugins\jira\macros.vm.
You should just need to change the following line:
firstDay : 0, // first day of the weekto
firstDay : 1, // first day of the weekOnce changed just restart Jira and your datepicker should start on Monday.
Let us know if you have any further questions.
Thanks,
Brian