Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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