diff --git a/webapp/channels/src/components/suggestion/search_date_suggestion/search_date_suggestion.tsx b/webapp/channels/src/components/suggestion/search_date_suggestion/search_date_suggestion.tsx index 5cf51678855..c487deef0d7 100644 --- a/webapp/channels/src/components/suggestion/search_date_suggestion/search_date_suggestion.tsx +++ b/webapp/channels/src/components/suggestion/search_date_suggestion/search_date_suggestion.tsx @@ -30,7 +30,7 @@ export default class SearchDateSuggestion extends React.PureComponent { }; handleDayClick = (day: Date) => { - const dayString = day.toISOString().split('T')[0]; + const dayString = new Date(Date.UTC(day.getFullYear(), day.getMonth(), day.getDate())).toISOString().split('T')[0]; this.props.onClick(dayString, this.props.matchedPretext); };