ireland exception (See issue #65)

pull/55/merge
Rop 6 years ago
parent 4a447d8aef
commit 362d7fa5d8

@ -146,6 +146,11 @@ while(1)
$num_matches++; $num_matches++;
$posix = $tz[$m]["posix"]; $posix = $tz[$m]["posix"];
$olsen = $tz[$m]["olsen"]; $olsen = $tz[$m]["olsen"];
// Ireland has negative Summer Time as Winter time which messes things up
// See https://github.com/ropg/ezTime/issues/65 if you must know.
if ($olsen == "Europe/Dublin") $posix = "GMT0IST,M3.5.0/1,M10.5.0";
echo "$logstart OK $query -> $olsen $posix\n"; echo "$logstart OK $query -> $olsen $posix\n";
socket_sendto($sock, "OK " . $olsen . " " . $posix , 100 , 0 , $remote_ip , $remote_port); socket_sendto($sock, "OK " . $olsen . " " . $posix , 100 , 0 , $remote_ip , $remote_port);
break; break;

Loading…
Cancel
Save