I play on a central server (Terenas). Whenever I or any of my guildmates upload the GEM lua file the times for the raids are off by +1 hour.
Suggestions for how to fix this?
Moderator: PoloDude
function updateGemEvent($eventdata){
$date = date("Y-m-d G:i:s",$date);
// $date = date("Y-m-d G:i:s",$date);
$date_offset = "-1";
if (isset($date_offset) && ereg("^(\\-|\\+)?([0-9]{1}|(1{1}[0-2]{1}))$", $date_offset)) {
$hour = date("G", $date);
$hour = $hour + $date_offset;
$date = date("Y-m-d ",$date). $hour . date(":i:s",$date);
} else
$date = date("Y-m-d G:i:s",$date);
Users browsing this forum: No registered users and 0 guests