Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-1671

Force Booking function doesn't move bookings with DST timeshift applied

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • 1.9.6
    • Block: Mrbs
    • None
    • MOODLE_19_STABLE

      The force booking function (for people with mrbs:forcebook) doesn't find bookings created before a DST change if trying to forceably book a room after the DST change. This happens because the record stores the time offset by one hour, but the query that searches for clashing bookings doesn't offset the time.
      The attached patch amends the query to also search for offset bookings.

            davosmith Davo Smith
            marxjohnson Mark Johnson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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