Welcome to WebmasterWorld Guest from 126.96.36.199
There's no obvious option for changing it in the form, and I need to make the UK feed show up in BST and so on. Changing it to show the time left would also work for me if that's any easier to do.
It has its own field as well, but changing it to something human is beyond my skills I think. I'm emailing the eBay UK person from my welcome message to see if they have any ideas.
$endtime = $item['rx']['endtime'];
$endtime = substr($endtime, 0, 10);
$endtime = date("l M d, Y [H:i:s]", $endtime);
Then I used a preg replace to strip the PDT time from the description and replace with my custom code and variable instead..
$description = $item['description'];
$description = preg_replace('(<br /> End Date:.+PDT<br />)', '<strong>Sale Ends:</strong> ' . $endtime . '<br /><br />', $description);
Do let me know if your manager tells you an easier way!
[edited by: SuzyUK at 6:28 pm (utc) on July 11, 2006]