diff --git a/internal_packages/send-later/lib/send-later-popover.jsx b/internal_packages/send-later/lib/send-later-popover.jsx index 9bce2c29d..fb846dded 100644 --- a/internal_packages/send-later/lib/send-later-popover.jsx +++ b/internal_packages/send-later/lib/send-later-popover.jsx @@ -60,7 +60,7 @@ class SendLaterPopover extends Component { }; onSelectCustomOption = (value)=> { - const date = DateUtils.fromString(value); + const date = DateUtils.futureDateFromString(value); if (date) { this.onSelectDate(date); } else { @@ -83,7 +83,7 @@ class SendLaterPopover extends Component { renderCustomTimeSection() { const onChange = (event)=> { - this.setState({inputDate: DateUtils.fromString(event.target.value)}); + this.setState({inputDate: DateUtils.futureDateFromString(event.target.value)}); } const onKeyDown = (event)=> { @@ -130,7 +130,7 @@ class SendLaterPopover extends Component { if (scheduledDate === 'saving') { return ( -