diff options
author | Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> | 2024-01-09 00:46:26 +0100 |
---|---|---|
committer | backportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com> | 2024-01-15 09:22:09 +0000 |
commit | 57574d9d9aabdaf1f692389df7e1e3012b8fcc2e (patch) | |
tree | 4d8f9d9a6fb3f3c19592fc583e13b7d69fccb837 /apps/files_sharing/openapi.json | |
parent | b768934478c53bb888f5b93ce3bb733d3912d77f (diff) | |
download | nextcloud-server-57574d9d9aabdaf1f692389df7e1e3012b8fcc2e.tar.gz nextcloud-server-57574d9d9aabdaf1f692389df7e1e3012b8fcc2e.zip |
fix(share): use user timezone to parse share expiration date
If an user in UTC+1 try to create a share at 00:00, it's day D for him, but
D-1 for the server (UTC).
This fix aims to apply the correct offset
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Diffstat (limited to 'apps/files_sharing/openapi.json')
-rw-r--r-- | apps/files_sharing/openapi.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/openapi.json b/apps/files_sharing/openapi.json index 3414c0aa1fd..5447218b63e 100644 --- a/apps/files_sharing/openapi.json +++ b/apps/files_sharing/openapi.json @@ -1895,7 +1895,7 @@ { "name": "expireDate", "in": "query", - "description": "Expiry date of the share", + "description": "Expiry date of the share using user timezone at 00:00. It means date in UTC timezone will be used.", "schema": { "type": "string", "default": "" |