Added modifications to allow date ranges to be highlighted