photoprism/internal/photoprism/timezone.go
Michael Mayer f510ac994c XMP: Group files based on DocumentID and Instance ID #335
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-27 13:40:21 +02:00

9 lines
168 B
Go

package photoprism
// TimeZone returns the time zone where the photo was taken.
func (m *MediaFile) TimeZone() string {
data := m.MetaData()
return data.TimeZone
}