From 1f13e462b642e6da46bc6e504fd6fc3bd49ae6fd Mon Sep 17 00:00:00 2001 From: N-Pex Date: Wed, 16 Jul 2025 17:21:07 +0200 Subject: [PATCH] Use EXIF "OffsetTimeOriginal" if available --- src/components/content-credentials/EXIFInfo.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/content-credentials/EXIFInfo.vue b/src/components/content-credentials/EXIFInfo.vue index e97d848..5f3b32f 100644 --- a/src/components/content-credentials/EXIFInfo.vue +++ b/src/components/content-credentials/EXIFInfo.vue @@ -81,8 +81,9 @@ const dateTime = computed(() => { try { if (exif) { const date = getSimpleValue("DateTimeOriginal"); + const dateOffset = getSimpleValue("OffsetTimeOriginal"); if (date) { - return dayjs(Date.parse(date)).format("lll"); + return dayjs(Date.parse(date + (dateOffset ? dateOffset : ""))).format("lll"); } } } catch (error) {}