I have a small date problem,
you can see it on picture below,
When my site is on english it is ok, but when i switch it to my language i lose day and month.
i'm using latest joomla version 1.5.7 and it's tested on local server (WAMP)
you can see it on picture below,
When my site is on english it is ok, but when i switch it to my language i lose day and month.
i'm using latest joomla version 1.5.7 and it's tested on local server (WAMP)
Hi, please open this file : plugins/content/ChronoComments.php and find this line :
make it :
now open the comments page, does it show things correctly ? make sure all caches are cleared!
Let me know!
Regards
Max
'datetime' => '<a href="#commentID'.$commentx->id.'">'.strftime(JText::_( 'DATETIMEFORMAT' ),strtotime($commentx->datetime)).'</a>', make it :
'datetime' => '<a href="#commentID'.$commentx->id.'">'.utf8_encode(strftime(JText::_( 'DATETIMEFORMAT' ),strtotime($commentx->datetime))).'</a>', now open the comments page, does it show things correctly ? make sure all caches are cleared!
Let me know!
Regards
Max
i have that code on 2 lines >166 and 222
i tried changing them both and one at the time and i'm still getting ????????? 29 ????????? 2008, 21:27
i tried changing them both and one at the time and i'm still getting ????????? 29 ????????? 2008, 21:27
hmmm, strange when i switched template i got day and month names but in english...and language is set for my language...
firs temlate is JA Barite, and second one is JA_Purity that is displaying it in english, and now i tried milkyway and he also displays ??????
firs temlate is JA Barite, and second one is JA_Purity that is displaying it in english, and now i tried milkyway and he also displays ??????
Lets change the line above to :
let me know!
'datetime' => '<a href="#commentID'.$commentx->id.'">'.JHTML::_('date', $commentx->datetime, JText::_('DATE_FORMAT_LC2')).'</a>', let me know!
Thanks for letting me know, I fixed this in the new release!🙂
i have one more minor bug....when i posted new comment i had ?????? again and when i refreshed page date and time was wrong...
take a look at the picture.
take a look at the picture.
yes, same changes will need to be done to components/com_chronocomments/chronocomments.php
Cheers
Max
Cheers
Max
This topic is locked and no more replies can be posted.
