Date options as optional

This commit is contained in:
Adria Navarro 2025-02-27 14:18:38 +01:00
parent 78e558c4aa
commit 7905df5a4a
2 changed files with 2 additions and 2 deletions

View File

@ -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.",

View File

@ -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"