Fixing date formatting.