Changeset 6834 for branches/2.4


Ignore:
Timestamp:
07/20/12 12:01:31 (12 years ago)
Author:
eduardow
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.4/prototype/services/iCal.php

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