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

Adding time values to {{.venom.datetime}} #512

Closed
amlwwalker opened this issue Feb 23, 2022 · 2 comments
Closed

Adding time values to {{.venom.datetime}} #512

amlwwalker opened this issue Feb 23, 2022 · 2 comments

Comments

@amlwwalker
Copy link

What level of templating is possibly within the yml files?

For instance can we call on other standard capabilities within templating?

I am trying to set an expiry 1 hour into the future, and short of hardcoding it, I thought it may in some way be possible to use the templating engine?

I wondered about something like {{ ((time.Now).Add (time.Hour 1)) }}' but the equivalent using the .venom.datetime

@ivan-velasco
Copy link
Contributor

Does this help?
#711

@yesnault
Copy link
Member

yesnault commented Sep 28, 2023

Thank you @ivan-velasco, I think yes, feel free to reopen @amlwwalker .

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

3 participants