Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-19001

Selecting a custom date range exclude the last minute of the day

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 13.4, 13.8-rc-1
    • Fix Version/s: 13.4.4, 13.9-rc-1
    • Component/s: Live Data
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Selecting a custom date range produce a date range in the form 2021-09-22T00:00:00+02:00/2021-09-24T23:59:00+02:00 where the last range finishes at 23h 59mns and 0 seconds, instead of 59 seconds, effectively excluding dates in the last minute of the selected ending hour (this is also true when selecting another ending minute).

      The ending range should be be created with the last second on the selected ending minute.

        Attachments

          Activity

            People

            Assignee:
            mleduc Manuel Leduc
            Reporter:
            mleduc Manuel Leduc
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: