1
0
mirror of https://github.com/immich-app/immich.git synced 2025-06-27 05:11:11 +02:00

feat(web): select the EXIF timezone (if it exists) in dropdown (#12495)

This commit is contained in:
Carsten Otto
2024-09-09 21:26:21 +02:00
committed by GitHub
parent 9323b69c61
commit 8c3c3357fe
2 changed files with 6 additions and 2 deletions

View File

@ -331,8 +331,10 @@
locale: $locale,
})
: DateTime.now()}
{@const assetTimeZoneOriginal = asset.exifInfo?.timeZone ?? ''}
<ChangeDate
initialDate={assetDateTimeOriginal}
initialTimeZone={assetTimeZoneOriginal}
on:confirm={({ detail: date }) => handleConfirmChangeDate(date)}
on:cancel={() => (isShowChangeDate = false)}
/>