-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Deprecate custom_datetime #94
Comments
This plugin in v2.4.0 on Windows cannot handle the formatting that you proposed as favorable: It throws an error:
Could it be that this functionality has not been developed yet and your issue is a weired kind of a feature request? |
I would desire a more general date formatting option as well, that does not only work for |
Handlebar.js helper could be the way to go (as Handlebar.js is the underlying template engine).
with template definition like
with Start of Note1923 The easiest implementation would be a config field in the plugins config, where (power) users could define these Helpers in JavaScript through a text field. And yes, I am aware, that this could open up security concerns with unsafe code snippets, and also significant debugging problems. Maybe through a testing like on the Handlebar Playground before saving as new config, these issues could become less problematic. |
Sorry nishantwrp, only now I realize that this was a note by yourself as the maintainer/developer of that plugin. |
{{ datetime format="[]YYYY[-]MM[-]DD[ ]HH[:]mm[:]ss" }}
custom_datetime
.The text was updated successfully, but these errors were encountered: