<![CDATA[ Server Offset time - My Forums]]> https://forums.modx.com/thread/?thread=43253 <![CDATA[Re: Server Offset time]]> https://forums.modx.com/thread/43253/server-offset-time#dis-post-249611 http://modxcms.com/forums/index.php?topic=45121.0. Is there a way to achieve the offset time, without installing PHx?]]> kilgoretrout Mar 02, 2011, 07:51 AM https://forums.modx.com/thread/43253/server-offset-time#dis-post-249611 <![CDATA[Re: Server Offset time]]> https://forums.modx.com/thread/43253/server-offset-time#dis-post-249610
Thanks so much.]]>
estring Aug 28, 2009, 10:53 AM https://forums.modx.com/thread/43253/server-offset-time#dis-post-249610
<![CDATA[Re: Server Offset time]]> https://forums.modx.com/thread/43253/server-offset-time#dis-post-249609 ]]> mrhaw Mar 18, 2009, 01:54 PM https://forums.modx.com/thread/43253/server-offset-time#dis-post-249609 <![CDATA[Re: Server Offset time]]> https://forums.modx.com/thread/43253/server-offset-time#dis-post-249608 I had to change line 270 from:
					$output = strftime($modifier_value[$i],0+$output);

to:
					$output = strftime($modifier_value[$i],($output + $modx->config['server_offset_time']));


I hope that this helps anyone and I do suggest changing the actual plugin because I think that this is the proper way, or maybe add an option to do this...
May God bless you,
iasmin for Amazing Discoveries]]>
bttwog Mar 18, 2009, 01:09 PM https://forums.modx.com/thread/43253/server-offset-time#dis-post-249608
<![CDATA[Server Offset time]]> https://forums.modx.com/thread/43253/server-offset-time#dis-post-249607 I searched all over but I couldn’t find this for Jot. The problem that I’m having is that Jot doesn’t apply the server_offset_time setting that is set in MODx Tools->Configuration page. When the comments are displayed they are displayed with the server time which is not what I want.
Please guide me in how to fix this and thank you so much.
I found that the "chunk.comment.inc.html" template uses PHx to parse the date but I’m not sure how to add the offset or if it is even possible to do it from there.

May God bless you all,
iasmin]]>
bttwog Mar 18, 2009, 11:21 AM https://forums.modx.com/thread/43253/server-offset-time#dis-post-249607