Fix example tests
This commit is contained in:
parent
ab55788df4
commit
bb69fffaa1
|
@ -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.",
|
||||
},
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue