Style and Format Dates in React

InstructorJason Lengstorf

Share this video with your friends

Send Tweet

The Event Page is looking pretty good. But we can do better.

The date currently comes from a query that gets the start and end date as props and dumps that data out in a <p> tag.

In this lesson, we'll add some custom logic to display the date of an Event how you would expect it.

For a written version of this course, check out the Gatsby docs.