Forum Moderators: skibum
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.
TIA
$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!
Suzy
[edited by: SuzyUK at 6:28 pm (utc) on July 11, 2006]