Fix attribute name on <time>
This commit is contained in:
parent
66c87feaef
commit
618e02392b
|
@ -15,7 +15,7 @@ export const NewsCard: React.FC<NewsCardProps> = ({
|
||||||
return (
|
return (
|
||||||
<article className={styles.card}>
|
<article className={styles.card}>
|
||||||
<h3>
|
<h3>
|
||||||
<time className={styles.date} datetime={date.toISOString()}>
|
<time className={styles.date} dateTime={date.toISOString()}>
|
||||||
{date.toLocaleDateString("en-US", {
|
{date.toLocaleDateString("en-US", {
|
||||||
year: "numeric",
|
year: "numeric",
|
||||||
month: "long",
|
month: "long",
|
||||||
|
|
Loading…
Reference in New Issue