Adding info about timezone to date helper info.

This commit is contained in:
mike12345567 2021-06-09 11:50:00 +01:00
parent 3ffd340450
commit a98cff0446
1 changed files with 2 additions and 2 deletions

View File

@ -19,8 +19,8 @@ const ADDED_HELPERS = {
date: { date: {
args: ["datetime", "format"], args: ["datetime", "format"],
numArgs: 2, numArgs: 2,
example: '{{date now "DD-MM-YYYY"}} -> 21-01-2021', example: '{{date now "DD-MM-YYYY" "America/New_York" }} -> 21-01-2021',
description: "Format a date using moment.js date formatting.", 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"],