-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
jinja2-time offsets not working #1493
Comments
Might be because of this upstream bug: hackebrot/jinja2-time#18 |
Super interesting, can you reproduce it somehow using the command line? |
I am not really sure what to test here exactly? |
I think the jinja2-time Project is abandoned. The last commit was in 2021... please consider here to use an alternative. |
@x0tester0x and do you have an alternative? can you recommend an alternative? |
@dgtlmoon Arrow is an alternative, which is also already used toegether with jinja2-time (https://github.com/arrow-py/arrow) |
Are there any updates on replacing |
It's not possible to use time offsets currently.
I tested with this example from: https://pypi.org/project/jinja2-time/
{% now 'utc' - 'minutes=11' %}
This gives an error Invalid template syntax when trying to save a watch.
The text was updated successfully, but these errors were encountered: