Replace calls to deprecated method OfficeHoursDateHelper::datePad()

Created on 10 October 2023, about 1 year ago
Updated 25 October 2023, about 1 year ago

Problem/Motivation

ReservationManager makes a call to the deprecated (and recently removed) method OfficeHoursDateHelper::datePad(), resulting in an error.

Steps to reproduce

Edit a room reservation (at /room-reservation/{entity_id}/edit and attempt to save the room reservation.

Proposed resolution

Replace the call to OfficeHoursDateHelper::datePad() with OfficeHoursDateHelper::format() per https://www.drupal.org/project/office_hours/issues/3390670 πŸ“Œ Remove deprecated function datePad(), get() Fixed .

Remaining tasks

Patch forthcoming.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States COBadger

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024