https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42790
--- Comment #29 from Paul Derscheid <[email protected]> --- Created attachment 210109 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=210109&action=edit Bug 42790: (QA follow-up) Provide timezone-aware dayjs to the Extend modal spec - The spec imported dayjs without the utc/timezone plugins and never set the global dayjs extend_booking_modal.js relies on, so the first .tz() call threw - Extend utc/timezone and expose dayjs on window, as js-date-format.inc does on staff pages Test plan: 1. yarn cypress run --component --spec t/cypress/component/ExtendBookingModal_spec.ts 2. Without this patch it fails with ".tz is not a function"; with it, it passes Assisted-by: Opus 5.5 (Anthropic) Signed-off-by: Paul Derscheid <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected] website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
