fixed date formatting, tested with full data set