Bug 1068014: skip strptime() in datetime_from() if the date is in a standard format