Skip to content

Commit

Permalink
slice weekday
Browse files Browse the repository at this point in the history
  • Loading branch information
huntabyte committed Dec 1, 2023
1 parent 7fc40d7 commit f382c26
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/demos/calendar-demo.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<Calendar.HeadCell
class="w-10 rounded-md text-xs !font-normal text-muted-foreground"
>
<div>{day}</div>
<div>{day.slice(0, 2)}</div>
</Calendar.HeadCell>
{/each}
</Calendar.GridRow>
Expand Down
2 changes: 1 addition & 1 deletion src/components/demos/date-picker-demo.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<DatePicker.CalendarHeadCell
class="w-10 rounded-md text-xs !font-normal text-muted-foreground"
>
<div>{day}</div>
<div>{day.slice(0, 2)}</div>
</DatePicker.CalendarHeadCell>
{/each}
</DatePicker.CalendarGridRow>
Expand Down
2 changes: 1 addition & 1 deletion src/components/demos/range-calendar-demo.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<RangeCalendar.HeadCell
class="w-10 rounded-md text-xs !font-normal text-muted-foreground"
>
<div>{day}</div>
<div>{day.slice(0, 2)}</div>
</RangeCalendar.HeadCell>
{/each}
</RangeCalendar.GridRow>
Expand Down

0 comments on commit f382c26

Please sign in to comment.