Changeset 6807


Ignore:
Timestamp:
07/18/12 15:54:13 (12 years ago)
Author:
cristiano
Message:

Ticket #2965 - Problema com hora ao importar evento em Outlook

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/prototype/services/iCal.php

    r6791 r6807  
    213213                            $repeat['FREQ'] = $rv; 
    214214                        else if ($ir == 'endTime') { 
    215                             $time = new DateTime('@' . (int) ($rv / 1000), $timezone); 
     215                            $time = new DateTime('@' . (int) ($rv / 1000), new DateTimeZone('UTC')); 
    216216                            $time->setTimezone($apTimezoneOBJ); 
    217217                            $repeat['until'] = $time->format(DATE_RFC822); 
Note: See TracChangeset for help on using the changeset viewer.