Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-132880

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

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 7.2.X, 7.3.X, Master
    • Fix Version/s: None
    • Labels:
    • Fix Priority:
      3

      Description

      This LPS springs from https://issues.liferay.com/browse/LPP-41471, see the history there.

      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.)

      Analysis of TSE on LPP-41471:

      the Date field in Web Contents are insensitive to localization setting. Not even the name of the days are translated
      Date field should be made aware of the locale.

      7.2.x: reproduced
      Master: reproduced

        Attachments

          Activity

            People

            Assignee:
            marcell.gyopos Marcell Gyöpös (Inactive)
            Reporter:
            marcell.gyopos Marcell Gyöpös (Inactive)
            Participants of an Issue:
            Recent user:
            Ana Buchmann
            Engineering Assignee:
            Marcell Gyöpös (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              17 weeks, 5 days ago

                Packages

                Version Package