Skip to content

Fixing 'ReferenceError: moment is not defined' when booking a meeting.#12

Open
arithmetric wants to merge 1 commit intocronofy:masterfrom
arithmetric:fix_moment_not_defined
Open

Fixing 'ReferenceError: moment is not defined' when booking a meeting.#12
arithmetric wants to merge 1 commit intocronofy:masterfrom
arithmetric:fix_moment_not_defined

Conversation

@arithmetric
Copy link

This PR fixes an error I see from the Node server after I click to book a meeting with the demo.

/Users/joe/Work/Developer-Demo-Starter/app/server.js:128
    const meetingDate = moment(slot.start).format("DD MMM YYYY");
                        ^

ReferenceError: moment is not defined
    at /Users/joe/Work/Developer-Demo-Starter/app/server.js:128:25
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant