Skip to content

Commit

Permalink
MMT-3943: Added comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Gokey committed Nov 26, 2024
1 parent 312330c commit 0fa7296
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ const CustomDateTimeWidget = ({
}

const handleChange = (newDate) => {
// The picket widget has a bug where it is not setting millis to 0 when selecting a time.
newDate.setMilliseconds(0)
const formattedDateTime = fromZonedTime(newDate, 'GMT').toISOString()
onChange(formattedDateTime)
Expand Down

0 comments on commit 0fa7296

Please sign in to comment.