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

Date range in Search portlet is decreased in one day after every submit

    Details

      Description

      Steps to reproduce it:

      1. Create a site and a page, and add the search portlet to the page.
      2. Select Spanish as language in the Display Settings of the current user.
      3. Try to search "asdf".
      4. Over the result list, try to filter by date range. Selecting start and end date.
      5. Click on search.
      6. Over the result list, try to filter by date range

      You will notice that the "date From" has been decreased in one day and the "date To" is also decreased in one day from the selected dates in the first search.

      I guess that we are generating the dates using JVM methods (like new Calendar) without the user locale.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              alberto.chaparro Alberto Chaparro
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 29 weeks, 4 days ago

                  Packages

                  Version Package