From 17f222b708f37a1ab84a1345d5c1a996467d9145 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Mon, 24 Oct 2022 20:36:12 +0200 Subject: [PATCH] Updated Handling variables in the watched URL (markdown) --- Handling-variables-in-the-watched-URL.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Handling-variables-in-the-watched-URL.md b/Handling-variables-in-the-watched-URL.md index e424a9e..d214e8e 100644 --- a/Handling-variables-in-the-watched-URL.md +++ b/Handling-variables-in-the-watched-URL.md @@ -3,5 +3,11 @@ Sometimes you need to insert the current date ``` -https://changedetection.io/test.txt?date={% now 'local' %} +https://changedetection.io/test.txt?date={% now 'Europe/Berlin', '%d' %}.{% now 'Europe/Berlin', '%m' %}.{% now 'Europe/Berlin', '%Y' %} +``` + +Would request (according to the `Europe/Berlin`) timezone + +``` +https://changedetection.io/test.txt?date=/test.txt?date=24.10.2022 ``` \ No newline at end of file