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

Date should be set automatically #9

Open
christophfriedrich opened this issue Jun 17, 2018 · 3 comments
Open

Date should be set automatically #9

christophfriedrich opened this issue Jun 17, 2018 · 3 comments

Comments

@christophfriedrich
Copy link
Member

So far, the Protokollant has to manually set the date in the header - that's a boring and often forgotten duty that could be automated easily.

@noerw
Copy link
Member

noerw commented Jun 18, 2018

this stops working when a protokoll is published a couple of days later (or after corrections), so there should be a way to override that behaviour

@christophfriedrich
Copy link
Member Author

If we do this only when the template is loaded (i.e. not when loading a document from disk), the second issue (corrections) is avoided. And the first issue really isn't one IMO, because whether the date that has to be changed by the Protokollant is very old (currently from 2016) or yesterday doesn't really matter - the latter is actually better because in case updating is forgotten it's still somewhat correct.

@christophfriedrich
Copy link
Member Author

To clarify: I don't want to set the header completely automatically, but preset the markdown text in the editor. E.g. by having something like %CURRENTDATE% in the template that is substituted when the template is loaded.

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

2 participants