1
0
mirror of https://github.com/immich-app/immich.git synced 2025-02-05 18:36:34 +02:00
Carsten Otto 67aa124de9
feat(server): parse offset from "Image_UTC_Data" (Samsung) (#13080)
* fix(deps): update dependency exiftool-vendored to v28.3.0

* feat(server): parse offset from "Image_UTC_Data" (Samsung)

A Samsung phone might provide the local time (e.g. 09:00) without any timezone or
offset information. If the file also includes the non-standard trailer tag
"TimeStamp" in "Image_UTC_Data", we can use the unix timestamp contained within to
deduce the offset.

As an example, if the local date/time is "2024-09-15T09:00" and the unix timestamp is
1726408800 (which is 2024-09-15T16:00 UTC), we know that the offset is -07:00.

The actual computation/fix is done in exiftool-vendored.

Also see
0f63a78090/lib/Image/ExifTool/Samsung.pm (L996-L1001)
https://github.com/photostructure/exiftool-vendored.js/issues/209

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-01 12:08:06 +00:00
..
2024-09-30 10:35:11 -04:00
2024-02-13 13:08:49 -05:00
2024-02-29 11:26:55 -05:00
2024-02-29 11:26:55 -05:00
2024-09-23 15:16:25 +00:00
2024-09-23 15:16:25 +00:00
2024-02-29 11:26:55 -05:00