lansingcodes / www

Events and resources for Lansing coders
https://www.lansing.codes
Other
7 stars 16 forks source link

Show day of week and date on the Upcoming Events agenda view #71

Closed peppertom closed 5 years ago

peppertom commented 5 years ago

refs: #62

peppertom commented 5 years ago

Thanks for the comments @egillespie, of course, I'll update this method using date-fns lib instead of momentjs. Could You provide more details about the following part (I dont really get the point):

The February 29 event on there should actually show "Monday, November 12 at 7:00 pm".

egillespie commented 5 years ago

@peppertom Sure thing! The date-fns format should look like this:

format(date, 'dddd, MMMM D [at] h:mm a')

This will make the agenda view show a date on the page as "Thursday, November 1 at 7:00 pm" (for example).