DateTimers,

I got a curious test failure on Windows:

  
http://ppm4.activestate.com/MSWin32-x86/5.14/1400/D/DW/DWHEELER/App-Sqitch-0.911.d/log-20120824T022242.txt

The error was:

    Invalid locale name or id: English_United States.1252

The code in question that sets the locale is:

    $dt->set( locale => POSIX::setlocale( POSIX::LC_TIME() ) );

Where $dt is of course a DateTime object. I suspect that this locale is pretty 
standard on Windows, so I’m wondering how one should map Windows locales to 
DateTime::Locale locales?

Thanks,

David



Reply via email to