
Locale::Handle::Pluggable::DateTime - Localize DateTime objects with your maketext handles.

package My::I18N;
use Moose;
extends qw(
Locale::Maketext
Locale::Handle::Pluggable::DateTime
Locale::Handle::Pluggable
);
# and then you can use your maketext handle to localize dates too
$handle->loc( DateTime->now ); # localizied to $handle's language

This package extends the Locale::Maketext::Pluggable with a variant method for DateTime objects.

If set all DateTime objects being localized will also have their time zone set to this value.
This is a "DateTime::TimeZone" in MooseX::Types::DateTime with coercions enabled.

Adds a variant method that goes to loc_date with DateTime from MooseX::Types::DateTime as the variant.
Localize a DateTime object using DateTime::Locale and the handle's language.