nicer way of handling dates for event