Make date formatting more consistent.