Metadata: Ignore UTC time zone estimates #930
This commit is contained in:
parent
28e2e85d48
commit
480b186b3c
1 changed files with 1 additions and 1 deletions
|
@ -903,7 +903,7 @@ func (m *Photo) SetTakenAt(taken, local time.Time, zone, source string) {
|
||||||
|
|
||||||
// SetTimeZone updates the time zone.
|
// SetTimeZone updates the time zone.
|
||||||
func (m *Photo) SetTimeZone(zone string) {
|
func (m *Photo) SetTimeZone(zone string) {
|
||||||
if zone == "" {
|
if zone == "" || zone == time.UTC.String() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue