silverwolf-x's picture
download
raw
298 Bytes
import { parseISO, format } from "date-fns";
export default function DateFormatter({ dateString }) {
if (!dateString) {
return null;
}
const date = parseISO(dateString);
const formattedDate = format(date, "LLLL d, yyyy");
return <time dateTime={dateString}>{formattedDate}</time>;
}

Xet Storage Details

Size:
298 Bytes
·
Xet hash:
d206cac32373a558829f34c245f4a9b02b719fa8dfec2844a18adf2ee61e5275

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.