The other day I had something come up with UPS XML ...
I forget the original code, but around line 261, I changed the code to be:
Code:
if (isset($this->servicesTimeintransit[$type]) && isset($this->servicesTimeintransit[$type]["date"])) {
$eta_array = explode("-", $this->servicesTimeintransit[$type]["date"]);
$months = array (" ", "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
$eta_arrival_date = $months[(int)$eta_array[1]]." ".$eta_array[2].", ".$eta_array[0];
$_type .= ", ETA: ".$eta_arrival_date;
}
Does that correct any issues for you?
Bookmarks