- Timestamp:
- 03/05/13 18:54:01 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.5/prototype/modules/calendar/interceptors/DBMapping.php
r7966 r7967 975 975 } 976 976 977 978 977 if(isset( $v['occurrences'] ) && count( $v['occurrences'] ) > 0){ 979 978 979 $date->setTimestamp((int) ($v['startTime'] / 1000)); 980 $date->setTimezone( new DateTimeZone( $v['timezone'] )); 981 980 982 foreach( $result[$i]['occurrences'] as &$o){ 981 983 982 $date->setTimestamp((int) ($o / 1000)); 983 $o = ($date->getTimestamp() + $date->getOffset()).'000'; 984 $o = ($o + $date->getOffset()).'000'; 984 985 985 986 }
Note: See TracChangeset
for help on using the changeset viewer.