-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Open
Description
Is your feature request related to a problem? Please describe.
It would be better to add the 'created' time, not just the 'last updated' time.
This feature was previously requested in 2023 but remains unimplemented. Issue:#1891
Using the lastUpdated
time is really not good. After I migrated from VuePress to VitePress, I had to move the Markdown files, which caused the lastUpdated
time of all articles to be the day I migrated to VitePress.
Describe the solution you'd like
Add created
time
Describe alternatives you've considered
No response
Additional context
const child = spawn('git', ['log', '-1', '--diff-filter=A', '--follow', '--format="%ci"', file]);
The execution result of the above git can be used to obtain the creation time of the article
Validations
- Follow our Code of Conduct
- Read the docs.
- Read the Contributing Guidelines.
- Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.
Metadata
Metadata
Assignees
Labels
No labels