mirror of
https://github.com/immich-app/immich.git
synced 2025-07-03 21:40:00 +02:00
fix(server,web,mobile): Incorrectly record and show timestamp and time zone of the asset (#706)
Implemented a mechanism to extract the correct time zone from the GPS coordinate if presented in the file's EXIF, and to convert the timestamp to the correct UTC time so that the time will show correctly based on the mobile/web local time zone.
This commit is contained in:
parent
fc194021a4
commit
e5459b68ff
16 changed files with 392 additions and 63 deletions
mobile/lib/modules/backup/views
|
@ -90,7 +90,7 @@ class FailedBackupStatusPage extends HookConsumerWidget {
|
|||
DateFormat.yMMMMd('en_US').format(
|
||||
DateTime.parse(
|
||||
errorAsset.createdAt.toString(),
|
||||
),
|
||||
).toLocal(),
|
||||
),
|
||||
style: TextStyle(
|
||||
fontSize: 12,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue