In Teline 1.4.1 the date is returned by the function
[php]
function getLastUpdate(){
$db = &JFactory::getDBO();
$query = ‘SELECT created FROM #__content a ORDER BY created DESC LIMIT 1’;
$db->setQuery($query);
$data = $db->loadObject();
if( $data->created ){ //return gmdate( ‘h:i:s A’, strtotime($data->created) ) .’ GMT ‘;
$date =& JFactory::getDate(strtotime($data->created));
$user =& JFactory::getUser();
$tz = $user->getParam(‘timezone’);
$sec =$date->toUNIX(); //set the date time to second
return gmdate(“h:i:s A”, $sec+$tz).’ GMT’;
}
return ;
}
[/php]
As you can see, the date is formatted by gmdate PHP function. Try to replace it with date function, instead of
return gmdate(“h:i:s A”, $sec+$tz).’ GMT’;
put
return date(“h:i:s A”, $sec+$tz).’ ET’;
Or try to use alternative LastUpdate function created by me.