Slackbot
10/08/2023, 2:23 AMTom
10/09/2023, 8:34 AMconcat
helper to build the offset string e.g.
{{now offset=(concat request.query.offsetDays.0 ' days)}}
Rahul Agrawal
10/09/2023, 8:35 AMRahul Agrawal
10/10/2023, 2:27 AM{{now offset=(concat request.query.offsetDays.0 ' days)}}
the above syntax seems to have some issues
12:30: found: 'days'', expected: ')'
Tom
10/10/2023, 8:44 AMTom
10/15/2023, 11:14 AMassign
for the same purpose, however:
{{#assign 'offset'}}{{request.query.offsetDays}} days{{/assign}}
{{now offset=offset}}
Rahul Agrawal
10/15/2023, 11:18 AMTom
10/16/2023, 8:57 AM