My Joomla server is set to timezone UTC + 7.
For every comments inserted/saved in articles, when displayed from "Comments Manager", column "DateTime" display the correct time comment was saved. But if viewed from articles, the time displayed with the comment is not correct, it is the saved time + 7 hours.
How do I fix this??
Please help.
anyone help this problem admin component (Chrono Comments - Comments Manager) time it is true but site Comments time UTC +2😟
Hi kelebekce,
in the global config of Joomla, did you set the correct time zone ? ChronoCommenst will use the Joomla time!
Regards
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Global config of Joomla timezone is set to correct timezone (mine is UTC + 7)
Time displayed is already correct for joomla and joomla administrator... including chronocomments if viewed from "Comments Manager".
But when comments are displyed in articles, the comment time is added with 7.
I think maybe the load comment function treat the time as UTC and added another 7 to it.
How do I fix this?
[attachment=0]11.jpg[/attachment][attachment=2]22.jpg[/attachment][attachment=1]33.JPG[/attachment]
comment time it's true when i set UTC +0 but my site time UTC +2😟
Hi,
at components/com_chronocomments/chronocomments.php
find:
JHTML::_('date', $commentx->datetime, JText::_( 'DATETIMEFORMAT' ))
replace with :
JHTML::_('date', $commentx->datetime, JText::_( 'DATETIMEFORMAT' ), 0)
let me know!
Regards
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Still the same. Doesn't seem to change anything...
Does that work on yours, kelebekce?
Thanks Max
old comment time not true but new comment time is true.🙂
Eendii write new comment
Good!! 🙂
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Hi everyone,
This fix sets my time in the component and Latest Comments module to Eastern Standard. My UTC in backend is -10. My workaround for the component is to change the "0" to "-5". However, I'm afraid I'll have to change it again manually to accomodate Daylight Savings Time as my time zone does not change with the seasons. Any suggestions?
Joomla 1.5.8
Firefox 3.0.3
Firebug 1.1.0b12
Web Developer 1.1.6
Aloha,
warriorgov79
Hi warriorgov79,
Why should you add -5 if your time is -10, how are your dates looking at both admin and frontend without this change ?
Regards
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Without the mods, my time in the backend is 5 hours ahead; frontend is 5 hours behind.
Hi Hi warriorgov79,
at the next version I will add a fix for this issue and you can easily upgrade!
Regards
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Mahalo (thanks) Max! ChronoComments is simply the best! I appreciate all that you're doing to help us noobs. I'll wait for your next release to install on my beta site. In the meantime, I'll keep playing with the current version in my sandbox. Aloha! warriorgov79 out...
Hooray...
Thanks kelebekce.... Thanks Max...!!
It works now. :mrgreen:
Thanks all! 🙂
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Hi I just installed ChronoComments and got it up and running. I noticed my time was off by 1 hour, so I tried this fix thinking it was the same issue. I replaced the code in the 5 locations listed in the previous post. Unfortunately, this did not fix anything. I tried making new comments and they are still off by 1 hour. I double checked the server time zone in the global settings and it is set correctly. Any ideas?
Hi Colin,
Do you have daylight saving now ? may be change the 0 in the fixes to 1 or -1 and see ?
Regards
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
thank kelebekce
But GMT +7 , it's still incorrect time 😢
Hi Maxvn,
just change the number in the line of code and test until you get it correct, I will fix this in the next release!
Cheers
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Thank Max,
I waiting for your new version for so long😀