11 messages in com.googlegroups.google-calendar-help-dataapiRe: Net::Google::Calendar 0.2 - Perl ...
FromSent OnAttachments
Simon Wistow15 Jun 2006 23:31 
HarleyPig18 Jun 2006 23:14 
HarleyPig18 Jun 2006 23:30 
Simon Wistow19 Jun 2006 01:45 
Woodrow Hill19 Jun 2006 05:12 
Simon Wistow19 Jun 2006 05:25 
HarleyPig19 Jun 2006 06:11 
Simon Wistow19 Jun 2006 06:18 
HarleyPig26 Jun 2006 23:23 
Simon Wistow27 Jun 2006 01:15 
HarleyPig27 Jun 2006 12:32 
Subject:Re: Net::Google::Calendar 0.2 - Perl interface to GData
From:HarleyPig (alan@gmail.com)
Date:06/18/2006 11:14:19 PM
List:com.googlegroups.google-calendar-help-dataapi

Why are you adding 'Z' on the end of the DateTime objects in Net::Google::Calendar::Entry::when ?

Hmmm ... I just reread that ... I don't mean to sound ungrateful or rude ... I'm truly curious. I really do appreciate your doing the base module.

Any entry I add seems to be getting -6 hours in the translation. I create my DateTime object like so:

my %start; @start{qw( year month day hour minute second )} = $event->{ 'start' } =~ /(....)(..)(..)T(..)(..)(..)/; my %end; @end{qw( year month day hour minute second )} = $event->{ 'end' } =~ /(....)(..)(..)T(..)(..)(..)/;

$start{ 'time_zone' } = 'US/Pacific'; $end{ 'time_zone' } = 'US/Pacific';

and the object returns the correct string when debugging, both at the creation point and in the when subroutine. If I follow the code until just before the request is made and print the $rq->as_string the time is correct, except that it has Z on the end.

The only thing I can think of is Zulu time ... but PST is -8 hours ... I'm confused. Do you have any ideas?