Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-85120

Allow for selection of time when filtering report date ranges

    • 1
    • WP Sprint 2025-I2.2 (Espresso)

      Currently when using any date ranges in the report builder conditions or filters, when an end date is set, this day is actually excluded from the dataset. This is because the report always uses the timestamp for Midnight of the selected day, where the expected behavior from the user end would be to see everything through 23:59 of that day.

      Replication:

      • Create a report from any data source.
      • Create a date range condition for an applicable field
      • With debugging on, if you convert the timestamp for the end date in the query, you can see that it's set to 00:00 for the selected date.

      It would make more sense to the average user if the whole ending day is included. This change would affect pre-existing reports that are already configured with the above consideration, but would provide a more intuitive experience for users creating new reports.

            pholden Paul Holden
            daph.hiebert@moodle.com Daph Hiebert
            Ilya Tregubov Ilya Tregubov
            Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 minutes
                5m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.