Skip to content

Control date format on footer from git #1726

Answered by Mister-Hope
MrKevHunter asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry, we no longer use dayjs to format now in v2, (we will correct v2 docs soon).

Now we are using Date.toLocaleString(currentPageLang)

So if the browser is supporting your language, it should provide the correct locale string.

We do not have plans to make any edit here, but you are free to overide it using https://vuepress-theme-hope.github.io/v2/cookbook/advanced/replace.html#replace-components

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@Mister-Hope
Comment options

@Mister-Hope
Comment options

@MrKevHunter
Comment options

@Mister-Hope
Comment options

@MrKevHunter
Comment options

Answer selected by Mister-Hope
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants