en_US is root... everything else inherits from that.

So when you use the factory to create the class it will be created
correctly (at least it did when I was last testing my code, I haven't
installed the latest version).

Note that the classes implementing the locales are often sparse and
inherit from parents so they need not define all of the methods
defined in the DT::L::Base POD, if they or a parent omits it it will
eventually come from the root.pm.

                        -ben

On Sat, Jul 26, 2003 at 04:01:22PM -1000, Joshua Hoblitt wrote:
> > There is no DateTime::Locale::en_US in the CPAN
> > version. Is this a bug or I'm using it the wrong way?
> 
> It's a bug.  Theres even a locale alias that tries to point at it.
> 
> 'eng_US'               => 'en_US',
> 
> en.pm seems to be missing as well as there's an alias for it as well.
> 
> 'eng'                  => 'en',
> 
> There's probably others missing as well.  The icu data for en and en_US isn't 
> missing so it's not immediately clear to me what the issue is.
> 
> -J
> 
> --

Reply via email to