Live Photo MOV file modified date does not match HEIC/JPEG
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
- Ensure Live Photo upload is enabled
- Upload an old Live Photo
- Examine the "Modified" date of the HEIC/JPEG and the MOV file in the NextCloud web interface
Expected behaviour
The two files have the same Modified date.
Actual behaviour
The image file has the correct Modified date but the MOV file date shows as "seconds ago"
Screenshots

Logs
N/A
Reasoning or why should it be changed/implemented?
This feels like a fairly minor issue to me, but it was an annoyance when I first moved to NextCloud and uploaded my iPhone Camera Roll, the image files themselves were properly organised by date but the Live Photo video files were not.
Environment data
iOS version: 16.1
Nextcloud iOS app version: 4.5.7.0
Server operating system: Ubuntu 22.10
Web server: Apache (as part of Nextcloud AIO Docker), reverse proxied by Nginx
Database: PostgreSQL 14.6 (as part of Nextcloud AIO Docker)
PHP version: 8.0.26 (as part of Nextcloud AIO Docker)
Nextcloud version: 24.0.8
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 tracing the Live Photo upload handling in the iOS app, comparing how the HEIC/JPEG and MOV files receive their modified dates. Reproduce the upload with an old Live Photo and verify that both files show the same Modified date in the Nextcloud web interface.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100