|
|
@ -258,9 +258,9 @@ const DaysList = ({ |
|
|
|
var eventDate; |
|
|
|
var eventDate; |
|
|
|
for (var i = 0; i < events.length; i++) { |
|
|
|
for (var i = 0; i < events.length; i++) { |
|
|
|
if (sDay == events[i].day) { |
|
|
|
if (sDay == events[i].day) { |
|
|
|
|
|
|
|
|
|
|
|
return sDay; |
|
|
|
return sDay; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -269,9 +269,9 @@ const DaysList = ({ |
|
|
|
var eventDate; |
|
|
|
var eventDate; |
|
|
|
for (var i = 0; i < events.length; i++) { |
|
|
|
for (var i = 0; i < events.length; i++) { |
|
|
|
if (sDay == events[i].day) { |
|
|
|
if (sDay == events[i].day) { |
|
|
|
|
|
|
|
|
|
|
|
return(events[i].description); |
|
|
|
return (events[i].description); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -306,7 +306,7 @@ const DaysList = ({ |
|
|
|
data-is-default-selectable={shouldEnableKeyboardNavigation} |
|
|
|
data-is-default-selectable={shouldEnableKeyboardNavigation} |
|
|
|
> |
|
|
|
> |
|
|
|
{!isStandard ? '' : getLanguageDigits(day)} |
|
|
|
{!isStandard ? '' : getLanguageDigits(day)} |
|
|
|
{specialDay(day) == day ? '.' : null} |
|
|
|
{specialDay(day) == day ? <span>.</span> : ' '} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
); |
|
|
|
); |
|
|
|
}; |
|
|
|
}; |
|
|
@ -373,8 +373,8 @@ const DaysList = ({ |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
DaysList.defaultProps = { |
|
|
|
DaysList.defaultProps = { |
|
|
|
onChange: () => {}, |
|
|
|
onChange: () => { }, |
|
|
|
onDisabledDayError: () => {}, |
|
|
|
onDisabledDayError: () => { }, |
|
|
|
disabledDays: [], |
|
|
|
disabledDays: [], |
|
|
|
calendarTodayClassName: '', |
|
|
|
calendarTodayClassName: '', |
|
|
|
calendarSelectedDayClassName: '', |
|
|
|
calendarSelectedDayClassName: '', |
|
|
|