|
1 | 1 | <?php |
| 2 | + |
2 | 3 | /* |
3 | 4 | * SPDX-License-Identifier: AGPL-3.0-only |
4 | 5 | * SPDX-FileCopyrightText: Copyright 2007-2016 Zarafa Deutschland GmbH |
5 | | - * SPDX-FileCopyrightText: Copyright 2020-2024 grommunio GmbH |
| 6 | + * SPDX-FileCopyrightText: Copyright 2020-2025 grommunio GmbH |
6 | 7 | * |
7 | 8 | * Class to generate AS compatible timezone information |
8 | 9 | */ |
@@ -1462,17 +1463,17 @@ public static function GetTzFromTimezoneDef($tzdef) { |
1462 | 1463 | $tz['bias'] = $rule['bias']; |
1463 | 1464 | $tz['dstendyear'] = $rule['stStandardDate']['year']; |
1464 | 1465 | $tz['dstendmonth'] = $rule['stStandardDate']['month']; |
1465 | | - $tz['dstendday'] = $rule['stStandardDate']['day']; |
1466 | | - $tz['dstendweek'] = $rule['stStandardDate']['dayofweek']; |
| 1466 | + $tz['dstendday'] = $rule['stStandardDate']['dayofweek']; |
| 1467 | + $tz['dstendweek'] = $rule['stStandardDate']['day']; |
1467 | 1468 | $tz['dstendhour'] = $rule['stStandardDate']['hour']; |
1468 | 1469 | $tz['dstendminute'] = $rule['stStandardDate']['minute']; |
1469 | 1470 | $tz['dstendsecond'] = $rule['stStandardDate']['second']; |
1470 | 1471 | $tz['dstendmillis'] = $rule['stStandardDate']['miliseconds']; |
1471 | 1472 | $tz['stdbias'] = $rule['stdbias']; |
1472 | 1473 | $tz['dststartyear'] = $rule['stDaylightDate']['year']; |
1473 | 1474 | $tz['dststartmonth'] = $rule['stDaylightDate']['month']; |
1474 | | - $tz['dststartday'] = $rule['stDaylightDate']['day']; |
1475 | | - $tz['dststartweek'] = $rule['stDaylightDate']['dayofweek']; |
| 1475 | + $tz['dststartday'] = $rule['stDaylightDate']['dayofweek']; |
| 1476 | + $tz['dststartweek'] = $rule['stDaylightDate']['day']; |
1476 | 1477 | $tz['dststarthour'] = $rule['stDaylightDate']['hour']; |
1477 | 1478 | $tz['dststartminute'] = $rule['stDaylightDate']['minute']; |
1478 | 1479 | $tz['dststartsecond'] = $rule['stDaylightDate']['second']; |
|
0 commit comments