Bug 25133: Handle 12hr format for dt_from_string