=pod =head1 NAME DateTime::Format::DateParse - Parses Date::Parse compatible formats =head1 SYNOPSIS use DateTime::Format::DateParse; my $dt = DateTime::Format::DateParse->parse_datetime( $date ); my $dt = DateTime::Format::DateParse->parse_datetime( $date, $zone ); =head1 DESCRIPTION This module is a compatibility wrapper around L. =head1 USAGE =head2 Import Parameters This module accepts no arguments to it's C method and exports no I. =head2 Methods =head3 Class Methods =over 4 =item * parse_datetime($date [, $zone]) Accepts a L compatible C<$date> string and optionally a L compatible C<$zone> string. Returns a L object. =back =head1 GOTCHAS =over 4 =item * If L is called on a C<$date> that doesn't know specify a timezone and C<$zone> is not set, then the timezone of the returned L object will be set to the C timezone. This is consistent with the behavior of L. =item * If L is called without a C<$zone> but the C<$date> string I specify a timezone/offset or if L is called with a C<$zone> that L does not understand, the returned L object will have it's timezone set to a fixed offset from UTC. This means that C information is not available and date math will not reflect C transitions. This may be resolved for true timezones by using the L module to C the L timezone to an Olson DB name. This may be done automatically in a future release. =back =head1 CREDITS Graham Barr (GBARR) , author of L Everyone at the DateTime C. =head1 SUPPORT Support for this module is provided via the email list. See L for more details. =head1 AUTHOR Joshua Hoblitt (JHOBLITT) =head1 COPYRIGHT Copyright (c) 2005-6 Joshua Hoblitt. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of the licenses can be found in the I file included with this module, or in L and L as supplied with Perl 5.8.1 and later. =head1 SEE ALSO L, L, L, L, L, L =cut