Skip to content

[stable32] fix(share): Set expiration time to end of day (23:59:59)#58709

Open
backportbot[bot] wants to merge 2 commits intostable32from
backport/58128/stable32
Open

[stable32] fix(share): Set expiration time to end of day (23:59:59)#58709
backportbot[bot] wants to merge 2 commits intostable32from
backport/58128/stable32

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Mar 4, 2026

Backport of #58128

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@backportbot backportbot bot added the 3. to review Waiting for reviews label Mar 4, 2026
@backportbot backportbot bot added this to the Nextcloud 32.0.7 milestone Mar 4, 2026
Shares now expire at the end of the selected day instead of the
beginning, allowing access throughout the entire expiration day.

Also return actual stored time in API response instead of hardcoded
00:00:00 to prevent timezone-related display issues in the UI.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
Copy link
Member

@jancborchardt jancborchardt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving functionality design-wise, but not tested

Update expected values in ManagerTest to reflect the new behavior

where share expiration dates are set to 23:59:59 instead of 00:00:00.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
Signed-off-by: Carl Schwan <carlschwan@kde.org>
@CarlSchwan CarlSchwan force-pushed the backport/58128/stable32 branch from c5a44df to 0535b10 Compare March 5, 2026 14:37
@CarlSchwan CarlSchwan marked this pull request as ready for review March 5, 2026 14:37
@CarlSchwan CarlSchwan requested a review from a team as a code owner March 5, 2026 14:37
@CarlSchwan CarlSchwan requested review from ArtificialOwl, come-nc and salmart-dev and removed request for a team March 5, 2026 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants