From 20c8d73b26099a0b0f459e14c3c4da37f6a35e59 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Tue, 12 Apr 2022 20:11:26 +0200 Subject: [PATCH] Metadata: Preserve manual local time changes when reindexing #2239 --- frontend/src/model/photo.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/frontend/src/model/photo.js b/frontend/src/model/photo.js index 36e855f6f..091c13c81 100644 --- a/frontend/src/model/photo.js +++ b/frontend/src/model/photo.js @@ -855,7 +855,14 @@ export class Photo extends RestModel { values.PlaceSrc = src.Manual; } - if (values.TakenAt || values.TimeZone || values.Day || values.Month || values.Year) { + if ( + values.TakenAt || + values.TakenAtLocal || + values.TimeZone || + values.Day || + values.Month || + values.Year + ) { values.TakenSrc = src.Manual; }