m/cup
1
0
mirror of https://github.com/sergi0g/cup.git synced 2025-11-08 05:03:49 -05:00

Remove colon from last checked

This commit is contained in:
Sergio
2024-09-07 11:03:53 +03:00
parent 50e2124d07
commit 6d1b5d339a

View File

@@ -2,5 +2,5 @@ import { intlFormatDistance } from "date-fns/intlFormatDistance";
export function LastChecked({ datetime }: { datetime: string }) {
const date = intlFormatDistance(new Date(datetime), new Date());
return <h3>Last checked: {date}</h3>;
return <h3>Last checked {date}</h3>;
}