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

pull/1246/head
TheCatLady 3 years ago committed by GitHub
parent f2f477649e
commit 3642b1e84a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

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

@ -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>

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

Loading…
Cancel
Save