formatting issue with dates