https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43696

--- Comment #1 from Pedro Amorim (ammopt) <[email protected]> ---
Created attachment 207110
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207110&action=edit
Bug 43696: Send ISO 18626 date-times as UTC

ISO 18626 date-times must be UTC in the form YYYY-MM-DDTHH:MM:SSZ.
supplyingAgencyMessage sent local times as YYYY-MM-DD HH:MM:SS, and
dueDate, lastChange, dateSent, retryBefore and retryAfter unformatted,
so partners failed to parse the message.

Date-only retryBefore and retryAfter, as sent by the staff interface,
also failed Koha's own schema validation, so 'Ask for retry' with a
retry date did not change the request status.

All supplyingAgencyMessage date-times are now converted to UTC and
formatted as YYYY-MM-DDTHH:MM:SSZ.

Test plan:
1) Enable the ILLModule system preference
2) Open a supplying ILL in 'Request received' status
3) Click 'Ask for retry', pick a 'Retry after' date, choose a 'Reason for
retry' and confirm
4) Note the status does not change
5) Apply patch and restart_all
6) Repeat 3)
7) Note the status is now 'Retry possible', and the new supplyingAgencyMessage
   shows its date-times as YYYY-MM-DDTHH:MM:SSZ
8) prove t/db_dependent/Koha/ILL/ISO18626/Request.t

Co-Authored-By: Claude Opus 5.5 <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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/

Reply via email to