We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cc18f59 + 4432330 commit fe2e365Copy full SHA for fe2e365
src/components/Datepicker.tsx
@@ -215,8 +215,8 @@ const Datepicker: React.FC<Props> = ({
215
validDate && (startDate.isSame(endDate) || startDate.isBefore(endDate));
216
if (condition) {
217
setPeriod({
218
- start: formatDate(startDate, displayFormat),
219
- end: formatDate(endDate, displayFormat)
+ start: formatDate(startDate),
+ end: formatDate(endDate)
220
});
221
setInputText(
222
`${formatDate(startDate, displayFormat)}${
0 commit comments