Skip to content

Commit 3cb1a77

Browse files
calendar: align showEnd and dateEndFormat defaults (#368)
1 parent 179bcc0 commit 3cb1a77

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

modules/calendar.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ The following properties can be configured:
4747
| `titleReplace` | DEPRECATED, please consider switching to `customEvents` <br><br>An object of textual replacements applied to the tile of the event. This allow to remove or replace certain words in the title. <br><br> **Example:** `{'Birthday of ' : '', 'foo':'bar'}` <br> **Default value:** `{ "De verjaardag van ": "", "'s birthday": "" }` |
4848
| `displayRepeatingCountTitle` | Show count title for yearly repeating events (e.g. "X. Birthday", "X. Anniversary") <br><br> **Possible values:** `true` or `false` <br> **Default value:** `false` |
4949
| `dateFormat` | Format to use for the date of events when using absolute dates. (version <= 2.16.0) From version 2.16.0, this option will be used to format absolute and relative dates. (e.g. DD/MM/YY to change from the default MM/DD/YYYY) <br><br> To show the event time along with the date, use a format like `MMM Do HH:mm`. Depending on configuration, may also require the options `timeFormat:"absolute", urgency:0, getRelative:0,` <br><br> **Possible values:** See [Moment.js formats](https://momentjs.com/docs/#/parsing/string-format/) <br> **Default value:** `MMM Do` (e.g. Jan 18th) |
50-
| `dateEndFormat` | Format to use for the end time of events <br><br> **Possible values:** See [Moment.js formats](https://momentjs.com/docs/#/parsing/string-format/) <br> **Default value:** `HH:mm` (e.g. 16:30) |
51-
| `showEnd` | Whether to show the end time of events <br><br> **Possible values:** `true` or `false` <br> **Default value:** `true` |
50+
| `dateEndFormat` | Format to use for the end time of events <br><br> **Possible values:** See [Moment.js formats](https://momentjs.com/docs/#/parsing/string-format/) <br> **Default value:** `LT` (locale-specific time format, e.g. 4:30 PM or 16:30) |
51+
| `showEnd` | Whether to show the end time of events <br><br> **Possible values:** `true` or `false` <br> **Default value:** `false` |
5252
| `showEndsOnlyWithDuration` | Whether to **PREVENT** showing the end date of full day events if showEnd is true <br><br> **Possible values:** `true` or `false` <br> **Default value:** `false` |
5353
| `fullDayEventDateFormat` | Format to use for the date of full day events (when using absolute dates) <br><br> **Possible values:** See [Moment.js formats](https://momentjs.com/docs/#/parsing/string-format/) <br> **Default value:** `MMM Do` (e.g. Jan 18th) <br><br> starting with version 2.30.0 this format will be used for the End date if showEnd is true and the end date is different than the start date. |
5454
| `timeFormat` | Display event times as absolute dates, or relative time, or using absolute date headers with times for each event next to it <br><br> **Possible values:** `absolute` or `relative` or `dateheaders` <br> **Default value:** `relative` |

0 commit comments

Comments
 (0)