Metadata: Ignore UTC time zone estimates #930

This commit is contained in:
Michael Mayer 2021-01-27 23:31:13 +01:00
parent 28e2e85d48
commit 480b186b3c

View file

@ -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
}