We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21116de commit 5ff7e64Copy full SHA for 5ff7e64
src/CalendarDay.js
@@ -53,6 +53,7 @@ export default function CalendarDay({
53
onMouseLeave={handleMouseLeave}
54
onTouchEnd={handleClick}
55
style={{ height }}
56
+ data-date-string={date.toLocaleDateString('en-US').replaceAll('/', '-')}
57
>
58
{dayOfMonth === 1 && (
59
<span className='nice-dates-day_month'>{format(date, 'LLL', { locale })}</span>
0 commit comments