chore(server) harden EXIF extraction (#1347)

* chore(server) Harden EXIF extraction

* Remove unused function in timeutil

* Remove deadcode
This commit is contained in:
Alex 2023-01-17 13:41:00 -06:00 committed by GitHub
parent dff10e89fe
commit 3e4a14b299
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 45 additions and 75 deletions

View file

@ -152,7 +152,7 @@
<p>{`ƒ/${asset.exifInfo.fNumber.toLocaleString(locale)}` || ''}</p>
{#if asset.exifInfo.exposureTime}
<p>{`1/${Math.floor(1 / asset.exifInfo.exposureTime)}`}</p>
<p>{`1/${asset.exifInfo.exposureTime}`}</p>
{/if}
{#if asset.exifInfo.focalLength}