Auto upload the whole camera roll submits wrong cteation time
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
- Enable auto upload, auto upload photos + videos
- Enable upload the whole camera roll
- Use subfolders monthly
- Maintain original filename
Expected behaviour
- The uploaded photo/video path should be {Auto upload folder}/{Year}/{Month}/{Filename}
- The uploaded photo/video creation time should be as in the original file
Actual behaviour
- The uploaded photo/video path is {Auto upload folder}/{Year}/{Month}/{Filename}
- The uploaded photo/video creation time is the time when the upload process is initiated
Screenshots
IMG_0495_Original.JPG creation time is the 20 of November 2023 9:35 AM
The actual creation time is the 21st of November 2016 12:14 AM
The file path is correct - /Photos/2016/11/IMG_0495_Original.JPG
Logs
I would happily add the logs, but I don't have up-to-date log files.
Reasoning or why should it be changed/implemented?
Photo catalog order is impacted.
Environment data
iOS version: iOS 17.3.1
Nextcloud iOS app version: 5.2.0.9
Server operating system: Ubuntu 22.04.3 LTS (GNU/Linux 6.5.0-17-generic x86_64)
Web server: Apache
Database: MySQL 8.0.36
PHP version: 8.3.2
Nextcloud version: 28.0.2
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 by reproducing whole-camera-roll auto upload with monthly subfolders and original filenames, then compare the original file creation time with the uploaded item's time. Done means uploaded photos and videos preserve their original creation time while retaining the currently correct {Year}/{Month}/{Filename} path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100