From 78f4fb67ac3aa0dd464ac26454ee7b408783e3a5 Mon Sep 17 00:00:00 2001 From: fenn-cs Date: Fri, 31 May 2024 14:32:19 +0100 Subject: [PATCH] docs(ShareApiController): Correct note about expiry date timezone Signed-off-by: fenn-cs --- apps/files_sharing/lib/Controller/ShareAPIController.php | 2 +- apps/files_sharing/openapi.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/files_sharing/lib/Controller/ShareAPIController.php b/apps/files_sharing/lib/Controller/ShareAPIController.php index 36a515bf29df9..43bcf9056cfd0 100644 --- a/apps/files_sharing/lib/Controller/ShareAPIController.php +++ b/apps/files_sharing/lib/Controller/ShareAPIController.php @@ -549,7 +549,7 @@ public function deleteShare(string $id): DataResponse { * @param string $publicUpload If public uploading is allowed * @param string $password Password for the share * @param string|null $sendPasswordByTalk Send the password for the share over Talk - * @param ?string $expireDate The expiry date of the share in the user's timezone (UTC) at 00:00. + * @param ?string $expireDate The expiry date of the share in the user's timezone at 00:00. * If $expireDate is not supplied or set to `null`, the system default will be used. * @param string $note Note for the share * @param string $label Label for the share (only used in link and email) diff --git a/apps/files_sharing/openapi.json b/apps/files_sharing/openapi.json index f5a8ead3eba3b..87f36d4331f88 100644 --- a/apps/files_sharing/openapi.json +++ b/apps/files_sharing/openapi.json @@ -1781,7 +1781,7 @@ { "name": "expireDate", "in": "query", - "description": "The expiry date of the share in the user's timezone (UTC) at 00:00. If $expireDate is not supplied or set to `null`, the system default will be used.", + "description": "The expiry date of the share in the user's timezone at 00:00. If $expireDate is not supplied or set to `null`, the system default will be used.", "schema": { "type": "string", "nullable": true