-
AuthorPosts
-
adnanpirota Friend
adnanpirota
- Join date:
- March 2009
- Posts:
- 101
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 35
- Thanked:
- 3 times in 1 posts
May 27, 2011 at 9:58 am #164500I am running Joomla 1.5 and I suddenly I noticed that after some changes (can not remember when exactly) Last Update time instead of time is “T3_DATE_FORMAT_LASTUPDATE”. Also on some other modules I have name of variable instead of the result. Anyone have a clue ?
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
May 28, 2011 at 6:41 am #393317You try this way:
– Replace this code from pluginssystemjat3corecommon.php file
$date =& JFactory::getDate(strtotime($data->created));
$user =& JFactory::getUser();
$tz = $config->get('offset');$sec =$date->toUNIX(); //set the date time to second
return gmdate("h:i:s A", $sec).' GMT';
with
return JHTML::date($data->created, "%H:%M:%S");
mayuri_g Friendmayuri_g
- Join date:
- May 2011
- Posts:
- 107
- Downloads:
- 0
- Uploads:
- 5
- Thanked:
- 10 times in 11 posts
May 31, 2011 at 6:56 am #393780Replace the below code from pluginssystemjat3corecommon.php file
$date =& JFactory::getDate(strtotime($data->created));
$user =& JFactory::getUser();
$tz = $config->get(‘offset’);$sec =$date->toUNIX(); //set the date time to second
return gmdate(“h:i:s A”, $sec).’ GMT’;with the code
return JHTML::date($data->created, “%H:%M:%S”);
if if it working fine, let us know.
adnanpirota Friendadnanpirota
- Join date:
- March 2009
- Posts:
- 101
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 35
- Thanked:
- 3 times in 1 posts
May 31, 2011 at 11:25 am #393846yes it worked but I have similar problem on some other places too (see atached picutres) … thnx for help
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
May 31, 2011 at 6:14 pm #3939611 user says Thank You to khoand for this useful post
AuthorPostsViewing 5 posts - 1 through 5 (of 5 total)This topic contains 5 replies, has 3 voices, and was last updated by khoand 13 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Problem with Last Update tim
Viewing 5 posts - 1 through 5 (of 5 total)