Public link expiration day loses one day
Open
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:
- Set 31 days as expiration (or other amount of days, we'll take 31 for the example) and enforce the expiration date
- In app, create a link -> date is correct. (today is 9 Aug, and date in screen is 9 Sept)
- Change the date to a closer date (longer date is not posible anymore after fixing (2) ), for example, 5 Sept.
- Save
Current: saved date: 4 Sept
Expected: saved date: 5 Sept
CC @mneuwert
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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