Edited time/date is in wrong time zone
Our server is in the UK. Vanilla Forums displays the correct time and date, but the text displayed by the plug-in is five hours behind.
I can't see any options where I can tell it about our time zone.
I can't see any options where I can tell it about our time zone.
0
Comments
No updates?
In class.lastedited.plugin.php line 65
replace this
with this
'Date' => Gdn_Format::ToDateTime(Gdn_Format::ToTimestamp($Data->DateUpdated) + GetValue('HourOffset', $UserData, T('Unknown User')) * 3600),Not sure if that's the most proper fix but it seems to work okay. CMIIW.
Oh thank god someone fixed this! I've been going through mySql (which I know nothing about) on Linux (which I know little about) trying to set timezones properly for quite a while now only to find out that nothing had any effect on the plugin. The last problem that remained on my forum has now been squashed... Thank you Bram!
I downloaded the plugin when this wasn't answered yet and never checked back, now wasn't that a mistake? 