diff --git a/web/src/lib/components/asset-viewer/detail-panel.svelte b/web/src/lib/components/asset-viewer/detail-panel.svelte index 8e085fc471..9146a8b91b 100644 --- a/web/src/lib/components/asset-viewer/detail-panel.svelte +++ b/web/src/lib/components/asset-viewer/detail-panel.svelte @@ -233,7 +233,7 @@
DETAILS
{/if} - {#if asset.exifInfo?.dateTimeOriginal} + {#if asset.exifInfo?.dateTimeOriginal && !asset.isReadOnly} {@const assetDateTimeOriginal = DateTime.fromISO(asset.exifInfo.dateTimeOriginal, { zone: asset.exifInfo.timeZone ?? undefined, })} @@ -280,26 +280,56 @@Add a date
+ {assetDateTimeOriginal.toLocaleString( + { + month: 'short', + day: 'numeric', + year: 'numeric', + }, + { locale: $locale }, + )} +
++ {assetDateTimeOriginal.toLocaleString( + { + weekday: 'short', + hour: 'numeric', + minute: '2-digit', + timeZoneName: 'longOffset', + }, + { locale: $locale }, + )} +
+{asset.exifInfo.city}
+ {#if asset.exifInfo?.state} +{asset.exifInfo.state}
+{asset.exifInfo.country}
+