close
Skip to content

[stable-33.0] fix(sharing): parse received timestamp from expiration date#9889

Merged
nilsding merged 1 commit into
stable-33.0from
backport/9882/stable-33.0
Apr 22, 2026
Merged

[stable-33.0] fix(sharing): parse received timestamp from expiration date#9889
nilsding merged 1 commit into
stable-33.0from
backport/9882/stable-33.0

Conversation

@backportbot
Copy link
Copy Markdown

@backportbot backportbot Bot commented Apr 22, 2026

Backport of PR #9882

Server version >= 33.0.1 changed the behaviour of the expiration date:
instead of expiring shares at the beginning of the day, they now expire
at the end of the day.

The client previously relied on the expiry time being defined as
`00:00:00`, this leads to the date unable to be parsed with the expiry
time set to `23:59:59`.
Solution: just™ parse the entire time returned from the server as well!
The client sets the expiration date only as `YYYY-MM-DD` anyway, so it
does not need to care about the time suggested by the server at all ...

Resolves #9859

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
@backportbot backportbot Bot requested a review from Aiiaiiio as a code owner April 22, 2026 08:19
@backportbot backportbot Bot requested a review from camilasan April 22, 2026 08:19
@backportbot backportbot Bot added bug feature: 👥 sharing Sharing dialog and functionalities. 3. to review labels Apr 22, 2026
@backportbot backportbot Bot added this to the 33.0.3 milestone Apr 22, 2026
@nilsding nilsding enabled auto-merge April 22, 2026 08:24
@github-actions
Copy link
Copy Markdown
Contributor

Artifact containing the AppImage: nextcloud-appimage-pr-9889.zip

Digest: sha256:32842ce96857a0d26eef40de143bbf4dc1ca369d8e1f7b779596faa203939a25

To test this change/fix you can download the above artifact file, unzip it, and run it.

Please make sure to quit your existing Nextcloud app and backup your data.

@nilsding nilsding merged commit 6d9dae1 into stable-33.0 Apr 22, 2026
17 checks passed
@nilsding nilsding deleted the backport/9882/stable-33.0 branch April 22, 2026 08:41
@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review bug feature: 👥 sharing Sharing dialog and functionalities.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Share dialog hangs with infinite spinner when clicking "Set expiration date" checkbox (Windows, Qt FluentWinUI3 style)

1 participant