ZP-949 fix timezone binary format. Released under the Affero GNU General...

ZP-949 fix timezone binary format. Released under the Affero GNU General Public License (AGPL) version 3.
parent 0f1c5977
...@@ -1309,8 +1309,8 @@ class TimezoneUtil { ...@@ -1309,8 +1309,8 @@ class TimezoneUtil {
$tz = TimezoneUtil::FillTZNames($tz); $tz = TimezoneUtil::FillTZNames($tz);
$packed = pack("la64vvvvvvvv" . "la64vvvvvvvv" . "l", $packed = pack("la64vvvvvvvv" . "la64vvvvvvvv" . "l",
$tz["bias"], $tz["tzname"], 0, $tz["dstendmonth"], $tz["dstendday"], $tz["dstendweek"], $tz["dstendhour"], $tz["dstendminute"], $tz["dstendsecond"], $tz["dstendmillis"], $tz["bias"], $tz["tzname"], 0, $tz["dstendmonth"], $tz["dstendweek"], $tz["dstendday"], $tz["dstendhour"], $tz["dstendminute"], $tz["dstendsecond"], $tz["dstendmillis"],
$tz["stdbias"], $tz["tznamedst"], 0, $tz["dststartmonth"], $tz["dststartday"], $tz["dststartweek"], $tz["dststarthour"], $tz["dststartminute"], $tz["dststartsecond"], $tz["dststartmillis"], $tz["stdbias"], $tz["tznamedst"], 0, $tz["dststartmonth"], $tz["dststartweek"], $tz["dststartday"], $tz["dststarthour"], $tz["dststartminute"], $tz["dststartsecond"], $tz["dststartmillis"],
$tz["dstbias"]); $tz["dstbias"]);
return $packed; return $packed;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment