Make sure all dates are UTC internally

This commit is contained in:
Ming Ming 2021-06-27 22:32:12 +08:00
parent b53c48808f
commit 8891e8165e

View file

@ -94,7 +94,7 @@ class Exif with EquatableMixin {
/// 0x9003 DateTimeOriginal
DateTime get dateTimeOriginal => data.containsKey("DateTimeOriginal")
? dateTimeFormat.parse(data["DateTimeOriginal"])
? dateTimeFormat.parse(data["DateTimeOriginal"]).toUtc()
: null;
/// 0x829a ExposureTime