Date options as optional
This commit is contained in:
parent
78e558c4aa
commit
7905df5a4a
|
@ -33,7 +33,7 @@ const outputJSON: Manifest = {}
|
||||||
const ADDED_HELPERS = {
|
const ADDED_HELPERS = {
|
||||||
date: {
|
date: {
|
||||||
date: {
|
date: {
|
||||||
args: ["datetime", "format", "options"],
|
args: ["datetime", "format", "[options]"],
|
||||||
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:
|
description:
|
||||||
"Format a date using moment.js date formatting - the timezone is optional and uses the tz database.",
|
"Format a date using moment.js date formatting - the timezone is optional and uses the tz database.",
|
||||||
|
|
|
@ -1210,7 +1210,7 @@
|
||||||
"args": [
|
"args": [
|
||||||
"datetime",
|
"datetime",
|
||||||
"format",
|
"format",
|
||||||
"options"
|
"[options]"
|
||||||
],
|
],
|
||||||
"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": "<p>Format a date using moment.js date formatting - the timezone is optional and uses the tz database.</p>\n"
|
"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