Use this if you're already using dayjs heavily in your app and don't want to
include date-fns in your bundle, or you need to be able to adjust dates to be
in a different timezone than the users browser via dayjs-locale
@switch (view) { @case ('month') {
} @case ('week') {
} @case ('day') {
} }