Skip to content

Commit

Permalink
fix: add startDate to open house submit event (#3399)
Browse files Browse the repository at this point in the history
  • Loading branch information
KrissDrawing committed Apr 18, 2023
1 parent 4c1bb2a commit 6d1fe3a
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@ const OpenHouseForm = ({ onSubmit, currentEvent }: OpenHouseFormProps) => {
const event = {
...currentEvent,
startTime: createTime(createDate(data.date), data.startTime),
startDate: createTime(createDate(data.date), {
hours: "12",
minutes: "00",
period: "pm",
}),
endTime: createTime(createDate(data.date), data.endTime),
label: data.label,
url: data.url,
Expand Down

0 comments on commit 6d1fe3a

Please sign in to comment.