Skip to content

Commit

Permalink
Calendar: added day, month and year information to date cells (#7650)
Browse files Browse the repository at this point in the history
* Added day, month and year information to date cells

* Formatting adjustment
  • Loading branch information
acc-cassio authored Jan 26, 2025
1 parent bd1d7c3 commit 46f9331
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion components/lib/calendar/Calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -3561,7 +3561,10 @@ export const Calendar = React.memo(
className: cx('day', { date }),
'aria-label': formattedValue,
'data-p-today': date.today,
'data-p-other-month': date.otherMonth
'data-p-other-month': date.otherMonth,
'data-p-day': date.day,
'data-p-month': date.month,
'data-p-year': date.year
},
ptm('day', {
context: {
Expand Down

0 comments on commit 46f9331

Please sign in to comment.