Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion _docs-v6/list-view/listDayFormat.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,24 @@ title: listDayFormat
A [Date Formatter](date-formatting) that affects the text on the left side of the day headings in list view.

<div class='spec' markdown='1'>
String, `false`
[Date Formatter](date-formatting), `false`, *defaults*:

```js
// like 'January 1, 2016', for 'list' view
{ month: 'long', day: 'numeric', year: 'numeric' }

// like 'Monday', for 'listDay' view
{ weekday: 'long' }

// like 'Monday', for 'listWeek' view
{ weekday: 'long' }

// no text, for 'listMonth' view
false

// no text, for 'listYear' view
false
```
</div>

<img src='listDayFormat.png' width='468' height='259' style='box-shadow: 0 1px 4px rgba(0,0,0,.3)' alt='customized list-view date strings' />
Expand Down
19 changes: 18 additions & 1 deletion _docs-v6/list-view/listDaySideFormat.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,24 @@ title: listDaySideFormat
A [Date Formatter](date-formatting) that affects the text on the right side of the day headings in list view.

<div class='spec' markdown='1'>
String, `false`
[Date Formatter](date-formatting), `false`, *defaults*:

```js
// no text, for 'list' view
false

// no text, for 'listDay' view
false

// like 'January 1, 2016', for 'listWeek' view
{ month: 'long', day: 'numeric', year: 'numeric' }

// like 'Monday', for 'listMonth' view
{ weekday: 'long' }

// like 'Monday', for 'listYear' view
{ weekday: 'long' }
```
</div>

<img src='listDaySideFormat.png' width='468' height='259' style='box-shadow: 0 1px 4px rgba(0,0,0,.3)' alt='displaying alt date strings' />
Expand Down