Fix format dates