Skip to content
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

[Feature request] Modified setting update on save #30

Open
Kristinita opened this issue Feb 13, 2017 · 0 comments
Open

[Feature request] Modified setting update on save #30

Kristinita opened this issue Feb 13, 2017 · 0 comments

Comments

@Kristinita
Copy link

Kristinita commented Feb 13, 2017

See also similar issue.

1. Request

It would be nice, if you add feature — update value for Modified metadata parameter. It would be nice, if would be possible not only if users run command manually like pelican_update_date command, but value will be changed automatically, when users save their md or rst file.

2. Justification

Pelican documentation:

modified should be last time you updated the article, and defaults to date if not specified. Besides you can show modified in the templates, feed entries in feed readers will be updated automatically when you set modified to the current date after you modified your article.

In metadata we have parameters.

  • Date — time of file create,
  • Modified — time of last edit of file.

Users usually don't need to change Date, but need to change Modified.

3. Desirable behavior

In md or rst file user have Modified parameter, → user save file → Modified parameter change to current data automatically.

4. Examples on other apps

See, how time change in FileHeader package:

FileHeader

Thanks.

This was referenced Apr 5, 2017
Kristinita pushed a commit to Kristinita/sublime-pelican that referenced this issue Apr 21, 2017
@Kristinita Kristinita mentioned this issue Apr 28, 2017
jsliang added a commit that referenced this issue Sep 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant