Skip to content

Instantly share code, notes, and snippets.

@JasonShin
Created October 22, 2016 01:38
Show Gist options
  • Select an option

  • Save JasonShin/3d61e091d54a83f786f3af96ebdf2eaf to your computer and use it in GitHub Desktop.

Select an option

Save JasonShin/3d61e091d54a83f786f3af96ebdf2eaf to your computer and use it in GitHub Desktop.
const workshopsList = this.props.store.filteredWorkshops.map( (workshop) => {
let formattedRangeDate = getFormattedRangeDate(workshop.StartDate, workshop.EndDate, this.rageDateDelimeter);
let maxSeats = workshop.maximum;
let availables = workshop.maximum - workshop.BookingCount;
let monthDate = getMonthDate(workshop.StartDate);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment