mirror of
https://github.com/sergi0g/cup.git
synced 2025-11-12 15:13:49 -05:00
Remove colon from last checked
This commit is contained in:
@@ -2,5 +2,5 @@ import { intlFormatDistance } from "date-fns/intlFormatDistance";
|
|||||||
|
|
||||||
export function LastChecked({ datetime }: { datetime: string }) {
|
export function LastChecked({ datetime }: { datetime: string }) {
|
||||||
const date = intlFormatDistance(new Date(datetime), new Date());
|
const date = intlFormatDistance(new Date(datetime), new Date());
|
||||||
return <h3>Last checked: {date}</h3>;
|
return <h3>Last checked {date}</h3>;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user