fix(server,web,mobile): Incorrectly record and show timestamp and time zone of the asset ()

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:
Alex 2022-09-22 15:58:17 -05:00 committed by GitHub
parent fc194021a4
commit e5459b68ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 392 additions and 63 deletions
mobile/lib/modules/backup/views

View file

@ -90,7 +90,7 @@ class FailedBackupStatusPage extends HookConsumerWidget {
DateFormat.yMMMMd('en_US').format(
DateTime.parse(
errorAsset.createdAt.toString(),
),
).toLocal(),
),
style: TextStyle(
fontSize: 12,