Skip to content

Commit 2d862da

Browse files
authored
Merge pull request #160 from nyatinte/feat/vitepress-lastUpdated-format
chore(docs): configure VitePress lastUpdated to use UTC timezone
2 parents 1658690 + bfd1abd commit 2d862da

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docs/.vitepress/config.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,13 @@ export default withMermaid(defineConfig({
116116
lastUpdated: {
117117
text: 'Updated at',
118118
formatOptions: {
119-
dateStyle: 'full',
120-
timeStyle: 'medium',
119+
year: 'numeric',
120+
month: '2-digit',
121+
day: '2-digit',
122+
hour: '2-digit',
123+
minute: '2-digit',
124+
hour12: false,
125+
timeZone: 'UTC',
121126
},
122127
},
123128
},

0 commit comments

Comments
 (0)