From 51055dc01c4406e673a241d149856736ab2b8105 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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! Signed-off-by: Nick Clemens Signed-off-by: Tomás Cohen Arazi --- 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 0879ddc515..3829255ffa 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.50.1 (Apple Git-155)