owncloud / owncloud/ios-app

Public link expiration day loses one day

Open
#482 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature:sharing Type:bug
Dominant language
Swift
Stars
251
Forks
142
Avg merge
2d 17h
Merged PRs (30d)
3

Description

Check these steps out:

  1. Set 31 days as expiration (or other amount of days, we'll take 31 for the example) and enforce the expiration date
  2. In app, create a link -> date is correct. (today is 9 Aug, and date in screen is 9 Sept)
  3. Change the date to a closer date (longer date is not posible anymore after fixing (2) ), for example, 5 Sept.
  4. Save

Current: saved date: 4 Sept
Expected: saved date: 5 Sept

CC @mneuwert

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the public-link expiration flow described in the issue, especially changing the date from 9 Sept to 5 Sept before saving. Trace the iOS public-link expiration date handling and verify that saving preserves the selected date rather than shifting it back by one day.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.