Skip to content

Commit

Permalink
add 15 hours to day in datepicker to avoid the DTS impact
Browse files Browse the repository at this point in the history
  • Loading branch information
MaksVeter committed Dec 2, 2024
1 parent 15d63ce commit 1a174b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/components/src/date-time/date/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ export function DatePicker( {
if ( ! isSameMonth( day, viewing ) ) {
return null;
}
day.setHours( 15 );
return (
<Day
key={ day.toString() }
Expand Down

0 comments on commit 1a174b6

Please sign in to comment.