How to set Monday as first day of week in Date Picker calendar

Still need help?

The Atlassian Community is here for you.

Ask the community

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:

  1. Go to Administration > System > User Interface > Look and Feel.
  2. Scroll under "Date/Time Formats" section.
  3. 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.
  4. 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:

JRASERVER-10613 - Getting issue details... STATUS

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-7238 - Getting 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.

  1. Choose Administration (     ) > System
  2. Select User Interface > Announcement banner in the System panel below.
  3. 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>
  4. Select the required Visibility Level for the banner.
  5. Click the Set Banner button.

Last modified on Mar 25, 2024

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.