Date options as optional
This commit is contained in:
parent
78e558c4aa
commit
7905df5a4a
|
@ -33,7 +33,7 @@ const outputJSON: Manifest = {}
|
|||
const ADDED_HELPERS = {
|
||||
date: {
|
||||
date: {
|
||||
args: ["datetime", "format", "options"],
|
||||
args: ["datetime", "format", "[options]"],
|
||||
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.",
|
||||
|
|
|
@ -1210,7 +1210,7 @@
|
|||
"args": [
|
||||
"datetime",
|
||||
"format",
|
||||
"options"
|
||||
"[options]"
|
||||
],
|
||||
"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