fix(ui): do not require numeric value in FormattedRelativeTime (#1234)

This commit is contained in:
TheCatLady
2021-03-21 01:00:55 -04:00
committed by GitHub
parent f2f477649e
commit 3642b1e84a
4 changed files with 4 additions and 1 deletions

View File

@@ -64,6 +64,7 @@ const DownloadBlock: React.FC<DownloadBlockProps> = ({
1000
)}
updateIntervalInSeconds={1}
numeric="auto"
/>
) : (
'N/A'

View File

@@ -292,6 +292,7 @@ const RequestItem: React.FC<RequestItemProps> = ({
1000
)}
updateIntervalInSeconds={1}
numeric="auto"
/>
),
user: (

View File

@@ -107,7 +107,7 @@ const Release: React.FC<ReleaseProps> = ({
(new Date(release.created_at).getTime() - Date.now()) / 1000
)}
updateIntervalInSeconds={1}
numeric="always"
numeric="auto"
/>
</span>
<span className="text-lg">{release.name}</span>

View File

@@ -175,6 +175,7 @@ const SettingsJobs: React.FC = () => {
1000
)}
updateIntervalInSeconds={1}
numeric="auto"
/>
</div>
</Table.TD>