From 480b186b3c5c11edafd98c23f6f99b9337f41d07 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Wed, 27 Jan 2021 23:31:13 +0100 Subject: [PATCH] Metadata: Ignore UTC time zone estimates #930 --- internal/entity/photo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/entity/photo.go b/internal/entity/photo.go index 2cf8bd859..e1a65457e 100644 --- a/internal/entity/photo.go +++ b/internal/entity/photo.go @@ -903,7 +903,7 @@ func (m *Photo) SetTakenAt(taken, local time.Time, zone, source string) { // SetTimeZone updates the time zone. func (m *Photo) SetTimeZone(zone string) { - if zone == "" { + if zone == "" || zone == time.UTC.String() { return }