Fix: add extra exif-tag

This commit is contained in:
Pieter Vander Vennet 2025-02-27 18:02:41 +01:00
parent 89aa7d6734
commit 09b68633d9

View file

@ -246,6 +246,7 @@ export class PanoramaxUploader implements ImageUploader {
tags.DateTime.value[0] ?? tags.DateTime.value[0] ??
tags.DateTimeOriginal.value[0] ?? tags.DateTimeOriginal.value[0] ??
tags.GPSDateStamp ?? tags.GPSDateStamp ??
tags.CreateDate ??
tags["Date Created"] tags["Date Created"]
).split(" ") ).split(" ")
const exifDatetime = new Date(date.replaceAll(":", "-") + "T" + time) const exifDatetime = new Date(date.replaceAll(":", "-") + "T" + time)