fix(releases): mismatched timestamp in list (#774)

* bugfix: WebUI - Mismatched Timestamps in Releases Page #770

* oops

---------

Co-authored-by: Brett Petch <brettpetch@icloud.com>
This commit is contained in:
ze0s 2023-03-19 21:40:48 +01:00 committed by GitHub
parent 5836fcee63
commit f68ce40c30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ interface CellProps {
} }
export const AgeCell = ({ value }: CellProps) => ( export const AgeCell = ({ value }: CellProps) => (
<div className="text-sm text-gray-500" title={value}> <div className="text-sm text-gray-500" title={simplifyDate(value)}>
{formatDistanceToNowStrict(new Date(value), { addSuffix: false })} {formatDistanceToNowStrict(new Date(value), { addSuffix: false })}
</div> </div>
); );