Users can select a start date/time and an end date/time to filter displayed courts. The courts that will show up on the map have at least one game scheduled between that range. The end date/time input has a minDate attribute to restrict it to date/times falling on or after the start date/time.
I had to reconfigure Firebase in fire.js to connect with my db so I would have data to work with. I installed the moment-range library to use in the Map component: https://github.com/rotaready/moment-range.
Users can select a start date/time and an end date/time to filter displayed courts. The courts that will show up on the map have at least one game scheduled between that range. The end date/time input has a minDate attribute to restrict it to date/times falling on or after the start date/time.
I had to reconfigure Firebase in fire.js to connect with my db so I would have data to work with. I installed the moment-range library to use in the Map component: https://github.com/rotaready/moment-range.