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?