| Locale::Handle::Pluggable::DateTime - Localize DateTime objects with your |
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 the Locale::Maketext::Pluggable manpage 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 the MooseX::Types::DateTime manpage with coercions enabled.
Adds a variant method that goes to loc_date with DateTime from
the MooseX::Types::DateTime manpage as the variant.
Localize a DateTime object using the DateTime::Locale manpage and the handle's language.
| Locale::Handle::Pluggable::DateTime - Localize DateTime objects with your |