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.
1 parent 57528ae commit 7cc4bacCopy full SHA for 7cc4bac
src/pages/wiki/[...slug].astro
@@ -30,8 +30,10 @@ export interface Props {
30
}
31
32
const modifiedTime = remarkPluginFrontmatter.lastModified
33
- ? dayjs(remarkPluginFrontmatter.lastModified).format("HH:mm:ss DD MMMM YYYY")
34
- : "???";
+ ? dayjs(remarkPluginFrontmatter.lastModified)
+ .utc()
35
+ .format("HH:mm:ss DD MMMM YYYY UTC")
36
+ : "Not committed yet";
37
---
38
39
<Layout article={article} headings={headings}>
@@ -49,6 +51,6 @@ const modifiedTime = remarkPluginFrontmatter.lastModified
49
51
}}
50
52
/>
53
<div class="modified-timestamp">
- <p>Last Modified: {modifiedTime} UTC</p>
54
+ <p>Last Modified: {modifiedTime}</p>
55
</div>
56
</Layout>
0 commit comments