Open pschoenmakers opened 1 year ago
Might be because of this upstream bug: https://github.com/hackebrot/jinja2-time/issues/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.
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) There is also https://github.com/sdispater/pendulum and https://github.com/dateutil/dateutil
Are there any updates on replacing jinja2-time
?
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.