(weekStart: CalendarWeekStart)
| 25 | * calendar and the Tasks calendar so both honor the setting (#300). |
| 26 | */ |
| 27 | export function resolveWeekStartDay(weekStart: CalendarWeekStart): number { |
| 28 | return weekStart === 'sunday' ? 0 : weekStart === 'locale' ? localeFirstDay() : 1 |
| 29 | } |
no test coverage detected