Fix broken docker build from last modified attempt 2

This commit is contained in:
Aria 2025-03-10 22:31:50 +11:00
parent 1490a0b269
commit aa7cf4a987
Signed by untrusted user who does not match committer: aria
GPG key ID: 19AB7AA462B8AB3B
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ export async function getStaticPaths() {
const { post } = Astro.props;
const { Content, remarkPluginFrontmatter } = await render(post);
const lastModified = import.meta.env.PUBLIC_COMMIT === "" ? "Unavailable" : dayjs(remarkPluginFrontmatter.lastModified)
const lastModified = dayjs(remarkPluginFrontmatter.lastModified)
.utc()
.format("HH:mm:ss DD MMMM YYYY UTC");
---