Changeset 7956 for trunk/prototype/modules/calendar/interceptors
- Timestamp:
- 03/05/13 14:01:46 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype/modules/calendar/interceptors/DBMapping.php
r7954 r7956 1015 1015 } 1016 1016 1017 1018 1017 if(isset( $v['occurrences'] ) && count( $v['occurrences'] ) > 0){ 1019 1018 1019 $date->setTimestamp((int) ($v['startTime'] / 1000)); 1020 $date->setTimezone( new DateTimeZone( $v['timezone'] )); 1021 1020 1022 foreach( $result[$i]['occurrences'] as &$o){ 1021 1023 1022 $date->setTimestamp((int) ($o / 1000)); 1023 $o = ($date->getTimestamp() + $date->getOffset()).'000'; 1024 $o = ($o + $date->getOffset()).'000'; 1024 1025 1025 1026 }
Note: See TracChangeset
for help on using the changeset viewer.