venom icon indicating copy to clipboard operation
venom copied to clipboard

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

Open amlwwalker opened this issue 2 years ago • 0 comments

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

amlwwalker avatar Feb 23 '22 10:02 amlwwalker