|
|
@ -20,7 +20,8 @@ const ADDED_HELPERS = { |
|
|
args: ["datetime", "format"], |
|
|
args: ["datetime", "format"], |
|
|
numArgs: 2, |
|
|
numArgs: 2, |
|
|
example: '{{date now "DD-MM-YYYY" "America/New_York" }} -> 21-01-2021', |
|
|
example: '{{date now "DD-MM-YYYY" "America/New_York" }} -> 21-01-2021', |
|
|
description: "Format a date using moment.js date formatting - the timezone is optional and uses the tz database.", |
|
|
description: |
|
|
|
|
|
"Format a date using moment.js date formatting - the timezone is optional and uses the tz database.", |
|
|
}, |
|
|
}, |
|
|
duration: { |
|
|
duration: { |
|
|
args: ["time", "durationType"], |
|
|
args: ["time", "durationType"], |
|
|
|