File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ <h2>range</h2>
54
54
min ="2024-02-10 "
55
55
max ="2025-10-10 "
56
56
value ="2024-02-12/2025-02-20 "
57
+ show-week-numbers
57
58
>
58
59
< div class ="grid ">
59
60
< calendar-month > </ calendar-month >
Original file line number Diff line number Diff line change @@ -44,7 +44,9 @@ export const CalendarMonth = c(
44
44
< tr part = "tr head" >
45
45
{ context . showWeekNumbers && (
46
46
< th part = "th weeknumber" >
47
- < slot name = "weeknumber" > #</ slot >
47
+ < slot name = "weeknumber" >
48
+ < span aria-label = "Week" > #</ span >
49
+ </ slot >
48
50
</ th >
49
51
) }
50
52
{ calendar . daysLong . map ( ( dayName , i ) => (
@@ -64,7 +66,7 @@ export const CalendarMonth = c(
64
66
< tr key = { i } part = "tr week" >
65
67
{ context . showWeekNumbers && (
66
68
< th class = "num" part = "th weeknumber" scope = "row" >
67
- { getWeekNumber ( week [ 0 ] ) }
69
+ Week { getWeekNumber ( week [ 0 ] ) }
68
70
</ th >
69
71
) }
70
72
You can’t perform that action at this time.
0 commit comments