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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.9.6
    • None
    • Block: Mrbs
    • None
    • MOODLE_19_STABLE

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: