Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Change Time settings in Vanilla 2
Hi I live in the UK my server is in the US. I have tried to find the file to change the timestamp with no luck. Can anyone advise what file and what code to put in for UK time settings. Many Thanks
0
Comments
thanks,
That's calculated by javascript at that moment, and it may be stored somewhere in case it wasn't able to calculate for some reason IIRC.
Servers location should just impact what are the timestamp in the database. Displaying should be fine.
// Make sure a default time zone is set
if (ini_get('date.timezone') == '')
date_default_timezone_set('America/Montreal');
go to http://www.php.net/manual/en/timezones.php
This is just a workaround if the value is not set in php.
It should be set in php.ini on your server. Obviously, if you're unable to set it, it could be changed here. But it will be back to default each time your update your forum as it's a core file.
'Fri, 08 Apr 11 12:04:46 -0400' if the current time was 17.04:46.
Any suggestions on whats going on, or more importantly how to resolve? I am using xsl to style a rss feed and display on our intranet, so its not very useful for those to be so out of date...
thanks,