Fixes #382 - Format the start and end dates with the provided format