dates are formatted correctly