From 3cd956790712466aa2dad5f4f9c1f175cdb69b53 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sun, 9 Jul 2023 00:13:06 +0200 Subject: [PATCH] [wiki] Fix example broken since v3.x Signed-off-by: Knut Ahlers --- wiki/Templating.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wiki/Templating.md b/wiki/Templating.md index 8e1b25b..ee4ef45 100644 --- a/wiki/Templating.md +++ b/wiki/Templating.md @@ -333,7 +333,7 @@ Syntax: `seededRandom ` Example: ``` -# Your int this hour: {{ printf "%.0f" (multiply (seededRandom (list "int" .username (now "2006-01-02 15") | join ":")) 100) }}% +# Your int this hour: {{ printf "%.0f" (mul (seededRandom (list "int" .username (now | date "2006-01-02 15") | join ":")) 100) }}% < Your int this hour: 17% ```