Legacy Knowledge Base
Published Jul. 2, 2025

Datepicker for web content Date fields starts on Sunday instead of Monday

Written By

Ankit Gupta

How To articles are not official guidelines or officially supporteddocumentation. They are community-contributed content and may not alwaysreflect the latest updates to Liferay DXP. We welcome your feedback toimprove How to articles!

While we make every effort to ensure this Knowledge Base is accurate, itmay not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with anyfeedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack"publication program, made available for informational purposes. Articlesin this program were published without a requirement for independentediting or verification and are provided "as is" withoutguarantee.

Before using any information from this article, independently verify itssuitability for your situation and project.

Issue

  • Steps to reproduce:

    1. In Instance Settings/Localization add English (UK) as a current locale.
    2. Set the current user's profile language to English (UK) - in Account Settings. This means that whenever this user is presented with a date picker, he should see Monday as the first day of the week (see https://en.wikipedia.org/wiki/Week and
    http://chartsbin.com/view/41671)
    3. Go to Web Content and create a web content structure with a Date field (and a dummy template for it).
    4. Start adding a new web content article of this structure, click in the date field.
    Result: Sunday is the first day.
    Expected: Monday should be the first day.
    (Note that at the right side, if you go to the Schedule section and click on the Display Date field, you see Monday as the first day, correctly.)

Environment

  • Liferay DXP 7.2

Resolution

  • The observed behavior is a known issue.
  • If the hotfix is required for this issue, please create a support ticket requesting hotfix by attaching patch details.
  • Installing Fix Packs and Hotfixes on Liferay DXP will guide to install these Fixpack in your environment.
Did this article resolve your issue ?

Legacy Knowledge Base