From 06bfda5a91023cd04551bc59474f725900eeee8c Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 23 Jan 2026 19:46:43 +0000 Subject: [PATCH] Bug 41700: Update note_date to datetime This patch updates the swaager definition to have the correct format To test: 1 - Enable issue notes: AllowCheckoutNotes preference 2 - Issue an item to a patron 3 - Sign in to opac as that patron, add a note 4 - Have staff client open and a second tab try: http://localhost:8081/api/v1/checkouts/ 5 - Error "message":"Does not match date format.","path":"\/body\/0\/note_date" 6 - Apply patch, yarn build, restart all 7 - Refresh the page 8 - Success! --- api/v1/swagger/definitions/checkout.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v1/swagger/definitions/checkout.yaml b/api/v1/swagger/definitions/checkout.yaml index 0879ddc5158..3829255ffad 100644 --- a/api/v1/swagger/definitions/checkout.yaml +++ b/api/v1/swagger/definitions/checkout.yaml @@ -89,7 +89,7 @@ properties: type: - string - "null" - format: date + format: date-time description: Datetime of the issue note note_seen: type: -- 2.39.5