move start/end data computation to a utility for DRY
refactor date comparison in list comprehension for the case where no start and/or end date are provided
Merge branch 'dray-dev' into zhcard_dev