How to set Monday as first day of week in Date Picker calendar
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Overview
This article will explain how to change the Date Picker calendar to set Monday as the first day of the week.
Solution
To show Monday as first day of the week, please do the following:
- Go to Administration > System > User Interface > Look and Feel.
- Scroll under "Date/Time Formats" section.
- Look for Use ISO8601 standard in Date Picker and check the checkbox. You might need to click on the Yes/No to be able to see the checkbox.
- Update the field value.
This affects all users. It's currently not possible to make this change on a per-user basis.
- There's a suggestion for it:
Known Issue
If you find that enabling the ISO8601 option does not change the date/time format and Sunday is still displayed as he first day of the week, you may be impacted by this bug:
- JSWSERVER-7238Getting issue details... STATUS
Please feel free to add yourself as a watcher to the bug ticket to stay informed of any updates. Additionally, we have provided a workaround below which has shown success in fixing this issue.
Workaround
The following workaround has been shown to work for customers on 8.13.x versions, but may not work on all versions of JIRA.
Please test these changes in a lower environment before attempting them in your production environment.
- Choose Administration ( ) > System.
- Select User Interface > Announcement banner in the System panel below.
Add the following code snippet into the Announcement field:
<script> (function() { if (Calendar) { Calendar._setup = Calendar.setup; Calendar.setup = function(arguments) { arguments = arguments || {}; arguments.useISO8601WeekNumbers =true; Calendar._setup(arguments); }; } })(); </script>
- Select the required Visibility Level for the banner.
- Click the Set Banner button.