Uploaded photos/videos filename should be consistent across iOS timezones
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 2.5k
- Forks
- 1k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 13
Description
Steps to reproduce
- Upload a photo (with the default filename mask)
- Change the timezone in the iOS settings
- Upload the same photo to the same folder
Expected behaviour
The file should be uploaded with the same name both times, and the conflict dialog should be invoked.
Actual behaviour
The file is uploaded with different filenames.
Reasoning or why should it be changed/implemented?
The uploaded filename shouldn't depend on the current timezone in iOS. It should either be the UTC time or (more likely) the time in the timezone in which the photo was taken.
Environment data
iOS version: e.g. iOS 15.5
Nextcloud iOS app version: 4.4.0.18
Nextcloud version: 23.0.6
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
Start with the reproduction steps in the issue: upload the same photo, change the iOS timezone, and upload it again using the default filename mask. Trace where the iOS app derives uploaded photo and video filenames, then verify that both uploads use the same timestamp basis and invoke the conflict dialog.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100