Add options args to date
This commit is contained in:
parent
0a17ba7767
commit
470cc6bb1f
|
@ -34,8 +34,8 @@ const outputJSON: Manifest = {}
|
|||
const ADDED_HELPERS = {
|
||||
date: {
|
||||
date: {
|
||||
args: ["datetime", "format"],
|
||||
numArgs: 2,
|
||||
args: ["datetime", "format", "options"],
|
||||
numArgs: 3,
|
||||
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.",
|
||||
|
|
|
@ -1345,9 +1345,10 @@
|
|||
"date": {
|
||||
"args": [
|
||||
"datetime",
|
||||
"format"
|
||||
"format",
|
||||
"options"
|
||||
],
|
||||
"numArgs": 2,
|
||||
"numArgs": 3,
|
||||
"example": "{{date now \"DD-MM-YYYY\" \"America/New_York\" }} -> 21-01-2021",
|
||||
"description": "<p>Format a date using moment.js date formatting - the timezone is optional and uses the tz database.</p>\n"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue