diff --git a/docs/publish/template-functions.md b/docs/publish/template-functions.md index 4c6b6dfe..f20ae1fd 100644 --- a/docs/publish/template-functions.md +++ b/docs/publish/template-functions.md @@ -617,7 +617,7 @@ The `dateModify` takes a modification and a date and returns the timestamp. Subtract an hour and thirty minutes from the current time: ``` -now | date_modify "-1.5h" +now | dateModify "-1.5h" ``` If the modification format is wrong `dateModify` will return the date unmodified. `mustDateModify` will return an error otherwise.