| @@ -192,9 +192,9 @@ | ||
| 192 | 192 | $compType = $component->getCompType(); |
| 193 | 193 | $isFreebusyCompType = ( Vcalendar::VFREEBUSY === $compType ); |
| 194 | 194 | /** |
| 195 | 195 | * Component with recurrence-id sorted before any rDate/rRule comp |
| 196 | - * to alter gmdate(time) when found in dtstart/recurlist. | |
| 196 | + * to alter date(time) when found in dtstart/recurlist. | |
| 197 | 197 | * (Note, a missing sequence (expected here) is the same as sequence=0 so don't test for sequence.) |
| 198 | 198 | * Highest sequence always last, will replace any previous |
| 199 | 199 | */ |
| 200 | 200 | $recurId = null; |
| @@ -893,15 +893,15 @@ | ||
| 893 | 893 | $startY = (int) $startY->format( $Y ); |
| 894 | 894 | } |
| 895 | 895 | else { |
| 896 | 896 | if( empty( $startY )) { |
| 897 | - $startY = (int) gmdate( $Y ); | |
| 897 | + $startY = (int) date( $Y ); | |
| 898 | 898 | } |
| 899 | 899 | if( empty( $startM )) { |
| 900 | - $startM = (int) gmdate( $M ); | |
| 900 | + $startM = (int) date( $M ); | |
| 901 | 901 | } |
| 902 | 902 | if( empty( $startD )) { |
| 903 | - $startD = (int) gmdate( $D ); | |
| 903 | + $startD = (int) date( $D ); | |
| 904 | 904 | } |
| 905 | 905 | if( empty( $endY )) { |
| 906 | 906 | $endY = $startY; |
| 907 | 907 | } |
| @@ -967,9 +967,9 @@ | ||
| 967 | 967 | } |
| 968 | 968 | } |
| 969 | 969 | |
| 970 | 970 | /** |
| 971 | - * Return comp end gmdate(time) from dtend/due/duration properties | |
| 971 | + * Return comp end date(time) from dtend/due/duration properties | |
| 972 | 972 | * |
| 973 | 973 | * @param CalendarComponent $component |
| 974 | 974 | * @param string $dtStartTz |
| 975 | 975 | * @return UtilDateTime |