nextcloud / nextcloud/ios

Uploaded photos/videos filename should be consistent across iOS timezones

Open
#2,075 1 comment 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

design
Dominant language
Swift
Stars
2.5k
Forks
1k
Avg merge
2d 18h
Merged PRs (30d)
13

Description

Steps to reproduce
  1. Upload a photo (with the default filename mask)
  2. Change the timezone in the iOS settings
  3. 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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.