NAME

Catalyst::Plugin::ParseDateTime - ASCII String to DateTime Object for Catalyst.

SYNOPSIS

use Catalyst qw/ParseDateTime/;

my $string = '2006-12-29 12:34:56';
my $dt = $c->parse_datetime($string); #Return DateTime Object

# Example when Catalyst::View::TT
[% Catalyst.parse_datetime(string).add(hours => 9) %]

DESCRIPTION

Powerd by DateTime::Format::HTTP

METHOD

parse_datetime

ASCII String is converted into DateTime Object by this plugin.

SEE ALSO

Catalyst, DateTime::Format::HTTP, DateTime

AUTHOR

Kazuma Shiraiwa

COPYRIGHT AND LICENSE

Copyright (C) 2006 by Kazuma Shiraiwa. This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.