Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

This queue is for tickets about the DateManip CPAN distribution.

Report information
The Basics
Id: 6424
Status: resolved
Priority: 0/
Queue: DateManip

People
Owner: Nobody in particular
Requestors: spam [...] gemal.dk
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 5.42a
Fixed in: (no value)

Attachments


Subject: Timezone in ISO 8601 date ignored
Download (untitled) / with headers
text/plain 248b
in a date like: 2004-05-25T09:34:09-08:00 the timezone is ignored! my $date = "2004-05-25T09:34:09-08:00"; my $date_parsed = Date::Manip::ParseDate($date); print STDERR $date_parsed . "\n"; prints 2004052509:34:09 Date::Manip version is : 5.43.1
Download datemanip.pl
text/x-perl 257b
#!/usr/local/bin/perl -w use Date::Manip; my $date = "2004-05-25T09:34:09-08:00"; my $date_parsed = Date::Manip::ParseDate($date); print STDERR $date_parsed . "\n"; my $date_timezoned = Date_ConvTZ($date_parsed); print STDERR $date_timezoned . "\n";


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.