Simple change to get date formats to work