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

    • Regression Bug

    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

              support-lep@liferay.com SE Support
              alberto.chaparro Alberto Chaparro
              Marta Elicegui Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                8 years, 13 weeks ago

                Packages

                  Version Package