-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: generate the timestamp of creation and last updated for each doc file (close #258) #282
Conversation
When a file is saved without any changes, its |
Good point, so there is a discussion which type of time should be provided to user. |
Updated to git commit time stamp. |
What if the project uses some other version control system? Or if the project is in its early stages and not under version control yet? |
@inosik That's it! |
@inosik Interesting thought, I think that's a valid point. Perhaps a fallback to fs would be a nice thing to have. |
Yeah, I've ever thought about that but forgot to post to that issue. If a new file is created, but has not been commited into git repo. Then if you are going to |
@meteorlxy @inosik |
Maybe the last updated feature should be off by default, and mention in docs that you need git to use this feature. |
@yyx990803 that would be nice, since fs timestamp is not very informational anyways. |
See #340. |
@yyx990803 fixed it at #338 |
Close #258