We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
getTime
1 parent 4c1b937 commit 211405cCopy full SHA for 211405c
web/src/app/(content)/(info)/blog/[id]/page.tsx
@@ -72,7 +72,7 @@ const BlogPost = ({ params }: BlogPageProps) => {
72
<p>
73
{/* Add 12 hours to the date to display at noon UTC */}
74
{new Date(
75
- post.date.getTime() + 12 * 60 * 60 * 1000,
+ new Date(post.date).getTime() + 12 * 60 * 60 * 1000,
76
).toLocaleDateString('en-UK', {
77
day: 'numeric',
78
month: 'short',
0 commit comments