Fix handling for old-style date format.