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

jinja2-time offsets not working #1493

Open
pschoenmakers opened this issue Mar 24, 2023 · 7 comments
Open

jinja2-time offsets not working #1493

pschoenmakers opened this issue Mar 24, 2023 · 7 comments
Assignees
Labels
upstream-bug issue with library - not directly with changedetection

Comments

@pschoenmakers
Copy link

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.

@pschoenmakers
Copy link
Author

Might be because of this upstream bug: hackebrot/jinja2-time#18

@dgtlmoon
Copy link
Owner

Super interesting, can you reproduce it somehow using the command line?

@pschoenmakers
Copy link
Author

I am not really sure what to test here exactly?

@dgtlmoon dgtlmoon added upstream-bug issue with library - not directly with changedetection and removed triage labels Apr 29, 2023
@x0tester0x
Copy link

I think the jinja2-time Project is abandoned. The last commit was in 2021... please consider here to use an alternative.

@dgtlmoon
Copy link
Owner

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?

@x0tester0x
Copy link

x0tester0x commented Nov 29, 2023

@randshell
Copy link

Are there any updates on replacing jinja2-time?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream-bug issue with library - not directly with changedetection
Projects
None yet
Development

No branches or pull requests

4 participants