diff --git a/server/documents/modules/calendar.html.eco b/server/documents/modules/calendar.html.eco index bef37362d..b58f6b3de 100644 --- a/server/documents/modules/calendar.html.eco +++ b/server/documents/modules/calendar.html.eco @@ -339,6 +339,8 @@ themes : ['Default']

Custom format

You can entirely change the date format by using a token string formatter.

+

The format is applied to several date outputs mentioned as tokens in the formatter settings.

+

These same tokens can also be used to format the date gotten through @@ -982,8 +984,9 @@ themes : ['Default'] Clear the selected date - get date - Get the selected date + get date(format = '') + Get the selected date. + If format is omitted, a JavaScript Date object is returned, otherwise a formatted string is returned. set date(date, updateInput = true, fireChange = true) @@ -998,24 +1001,27 @@ themes : ['Default'] Set the current selection mode (year, month, day, hour, minute) - get startDate - Get the start date for range selection + get startDate(format = '') + Get the start date for range selection. + If format is omitted, a JavaScript Date object is returned, otherwise a formatted string is returned. set startDate(date) Set the start date for range selection - get endDate - Get the end date for range selection + get endDate(format = '') + Get the end date for range selection. + If format is omitted, a JavaScript Date object is returned, otherwise a formatted string is returned. set endDate(date) Set the end date for range selection - get focusDate - Get the currently focused date + get focusDate(format = '') + Get the currently focused date. + If format is omitted, a JavaScript Date object is returned, otherwise a formatted string is returned. set focusDate(date)