Skip to content

Commit e3eece1

Browse files
committed
fix(pickerday): Only highlight today if edge dates shown
1 parent fc7e2c5 commit e3eece1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/PickerDay.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,9 @@ export default {
231231
'disabled': day.isDisabled,
232232
'highlighted': day.isHighlighted,
233233
'muted': day.isPreviousMonth || day.isNextMonth,
234-
'today': day.isToday,
234+
'today': this.showEdgeDates
235+
? day.isToday
236+
: day.isToday && !day.isPreviousMonth && !day.isNextMonth,
235237
'weekend': day.isWeekend,
236238
'sat': day.isSaturday,
237239
'sun': day.isSunday,

0 commit comments

Comments
 (0)