From 6abaf589ff9669a6521fd50e17641172856d0756 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Mon, 22 Jan 2024 12:16:59 +0100 Subject: [PATCH] Fix duration generation --- packages/string-templates/scripts/gen-collection-info.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/string-templates/scripts/gen-collection-info.js b/packages/string-templates/scripts/gen-collection-info.js index 815f3b607f..b487c4dde4 100644 --- a/packages/string-templates/scripts/gen-collection-info.js +++ b/packages/string-templates/scripts/gen-collection-info.js @@ -36,7 +36,7 @@ const ADDED_HELPERS = { duration: { args: ["time", "durationType"], numArgs: 2, - example: '{{duration timeLeft "seconds"}} -> a few seconds', + example: '{{duration 8 "seconds"}} -> a few seconds', description: "Produce a humanized duration left/until given an amount of time and the type of time measurement.", },