Challenge: Using date-fns Function

Challenge yourself by updating the event details template to display the dates in a different format that doesn't fail any tests.

Problem statement

Human readable values such as dates can take many forms and can be dependent on personal preference and location (12 hr vs 24 hr time). Without breaking any of the existing tests, see if you can update the formatted values using date-fns format function to display date values in another human-readable format.

Playground

Below is your updated code. Modify it to implement the functionality mentioned in the problem statement.

Get hands-on with 1400+ tech skills courses.