Skip to content

Commit

Permalink
fix(@clayui/date-picker): fixes normalization of the date
Browse files Browse the repository at this point in the history
  • Loading branch information
matuzalemsteles committed Apr 19, 2021
1 parent 861de91 commit cdbad89
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/clay-date-picker/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,9 @@ const normalizeDate = (date: Date) =>
setDate(date, {
date: 1,
hours: 12,
milliseconds: 1,
minutes: 1,
seconds: 1,
milliseconds: 0,
minutes: 0,
seconds: 0,
});

/**
Expand Down

0 comments on commit cdbad89

Please sign in to comment.