From 5dfcfd8035c9f750d588b7cb1cc9f2ad46f4d936 Mon Sep 17 00:00:00 2001 From: Matthew McEachen Date: Mon, 4 Nov 2024 10:49:56 -0800 Subject: [PATCH] Remove GeolocationTimezone from default timezone extraction to avoid 0,0 timezones. --- src/Timezones.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Timezones.ts b/src/Timezones.ts index 35bc849..45fa68d 100644 --- a/src/Timezones.ts +++ b/src/Timezones.ts @@ -374,7 +374,9 @@ export const TimezoneOffsetTagnames = [ // hours, 2. If present, the time zone offset of ModifyDate (which we // ignore) @see https://www.exiftool.org/TagNames/EXIF.html "TimeZoneOffset", // number | number[] | string - "GeolocationTimeZone", + + // We DON'T use "GeolocationTimezone" here, as at this layer in the glue + // factory we don't have access to the ExifTool option "ignoreZeroZeroLatLon" ] as const satisfies readonly (keyof Tags)[] export function incrementZone(