[PR #14874] [MERGED] feat(server): use the earliest date between file creation and modification timestamps when missing exif tags #14366

Closed
opened 2026-02-05 15:30:52 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/immich-app/immich/pull/14874
Author: @Chuckame
Created: 12/23/2024
Status: Merged
Merged: 1/2/2025
Merged by: @alextran1502

Base: mainHead: main


📝 Commits (10+)

  • aa8bfd1 feat(server): Use the earliest date between file creation and modification timestamps when missing exif tags
  • 702c0ab PR fixes
  • 6f9bac2 PR fixes
  • 67471c7 Switch log to debug
  • 1ca75f0 fix linter for min date
  • 5def4da Merge branch 'main' into main
  • ccf36bc apply prettier
  • 2464538 Merge branch 'main' into main
  • c62f8a7 Merge branch 'main' into main
  • 9520d87 Merge branch 'main' into main

📊 Changes

2 files changed (+48 additions, -7 deletions)

View changed files

📝 server/src/services/metadata.service.spec.ts (+34 -0)
📝 server/src/services/metadata.service.ts (+14 -7)

📄 Description

I also applied the date extraction for motion asset creation, tell me if I need to rollback this part, maybe it was wanted to not re-use getDates.

Closes #14857


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/immich-app/immich/pull/14874 **Author:** [@Chuckame](https://github.com/Chuckame) **Created:** 12/23/2024 **Status:** ✅ Merged **Merged:** 1/2/2025 **Merged by:** [@alextran1502](https://github.com/alextran1502) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (10+) - [`aa8bfd1`](https://github.com/immich-app/immich/commit/aa8bfd1a7d8b96102f45e6d84b164ebddb1a0aea) feat(server): Use the earliest date between file creation and modification timestamps when missing exif tags - [`702c0ab`](https://github.com/immich-app/immich/commit/702c0abac812f13dfe5df58406c7a53fc4c72c03) PR fixes - [`6f9bac2`](https://github.com/immich-app/immich/commit/6f9bac25f56d1d41ca7b79217487c5943da237bb) PR fixes - [`67471c7`](https://github.com/immich-app/immich/commit/67471c79e5c6ca0d2efbf2c91b4f82ef06db36e5) Switch log to debug - [`1ca75f0`](https://github.com/immich-app/immich/commit/1ca75f08ea1187e2807d04eacbc7b896af2f9d20) fix linter for min date - [`5def4da`](https://github.com/immich-app/immich/commit/5def4dac1290bba44549fb817d5dcb485b60199b) Merge branch 'main' into main - [`ccf36bc`](https://github.com/immich-app/immich/commit/ccf36bc9dfeb7c7f6c971fc983880641251a2a5c) apply prettier - [`2464538`](https://github.com/immich-app/immich/commit/246453806d88cf21aa22bb30e1fcdc05448d9611) Merge branch 'main' into main - [`c62f8a7`](https://github.com/immich-app/immich/commit/c62f8a70f5a2ed76a2f5741c2a47bee412db65c9) Merge branch 'main' into main - [`9520d87`](https://github.com/immich-app/immich/commit/9520d875501e4d5ecb83aebccfe2d8621e726349) Merge branch 'main' into main ### 📊 Changes **2 files changed** (+48 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `server/src/services/metadata.service.spec.ts` (+34 -0) 📝 `server/src/services/metadata.service.ts` (+14 -7) </details> ### 📄 Description I also applied the date extraction for motion asset creation, tell me if I need to rollback this part, maybe it was wanted to not re-use `getDates`. Closes #14857 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 15:30:52 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#14366