Fix example tests

This commit is contained in:
Adria Navarro 2025-03-06 12:24:11 +01:00
parent ab55788df4
commit bb69fffaa1
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ const ADDED_HELPERS = {
},
durationFromNow: {
args: ["time"],
example: '{{durationFromNow "2025-09-30"}} -> 7 months',
example: '{{durationFromNow "2021-09-30"}} -> 8 months',
description:
"Produce a humanized duration left/until given an amount of time and the type of time measurement.",
},

View File

@ -1236,7 +1236,7 @@
"args": [
"time"
],
"example": "{{durationFromNow \"2025-09-30\"}} -> 7 months",
"example": "{{durationFromNow \"2021-09-30\"}} -> 8 months",
"description": "<p>Produce a humanized duration left/until given an amount of time and the type of time measurement.</p>\n"
}
}