diff --git a/package.json b/package.json index b4d3557..37e2469 100644 --- a/package.json +++ b/package.json @@ -3,10 +3,10 @@ "type": "module", "version": "0.0.1", "scripts": { - "dev": "astro dev", - "build": "astro build", - "preview": "astro preview", - "astro": "astro" + "dev": "TZ=etc/UTC astro dev", + "build": "TZ=etc/UTC astro build", + "preview": "TZ=etc/UTC astro preview", + "astro": "TZ=etc/UTC astro" }, "dependencies": { "@astrojs/mdx": "^4.0.2", diff --git a/src/pages/blog/[...slug].astro b/src/pages/blog/[...slug].astro index df8bbac..16dafc0 100644 --- a/src/pages/blog/[...slug].astro +++ b/src/pages/blog/[...slug].astro @@ -24,7 +24,7 @@ const { Content } = await render(post);
Published on {format(post.data.date, "yyyy-mm-dd")}
+Published on {format(post.data.date, "yyyy-MM-dd")}
) : null }