fix(server): Handle exposure time correctly (#1432)

This commit is contained in:
Alex
2023-01-26 13:14:05 -06:00
committed by GitHub
parent bcb0056b55
commit 8b73c2bf8a
12 changed files with 31 additions and 24 deletions

View File

@@ -1116,10 +1116,10 @@ export interface ExifResponseDto {
'iso'?: number | null;
/**
*
* @type {number}
* @type {string}
* @memberof ExifResponseDto
*/
'exposureTime'?: number | null;
'exposureTime'?: string | null;
/**
*
* @type {number}

View File

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