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 be36333 commit 09bd4d2Copy full SHA for 09bd4d2
package/components/NanoMain/index.vue
@@ -29,7 +29,7 @@
29
style="padding: calc(var(--base-size) * 2.5) calc(var(--base-size) * 1.5) 0"
30
>
31
<span class="text-gray">最后更新于:</span>
32
- <strong class="text-slate-4">{{ datetime }}</strong>
+ <time class="text-slate-4" :datetime="isoDatetime">{{ datetime }}</time>
33
</div>
34
<slot name="contentAfter">
35
<NanoComment/>
@@ -94,6 +94,7 @@
94
const date = computed(
95
() => new Date(frontmatter.value.lastUpdated ?? page.value.lastUpdated)
96
);
97
+ const isoDatetime = computed(() => date.value.toISOString());
98
99
onMounted(() => {
100
watchEffect(() => {
0 commit comments