App-Sqitch

 view release on metacpan or  search on metacpan

t/lib/LC.pm  view on Meta::CPAN

package LC;

our $TIME = do {
    if ($^O eq 'MSWin32') {
        require Win32::Locale;
        Win32::Locale::get_locale();
    } else {
        require POSIX;
        POSIX::setlocale( POSIX::LC_TIME() );
    }
};

# https://github.com/sqitchers/sqitch/issues/230#issuecomment-103946451
# https://rt.cpan.org/Ticket/Display.html?id=104574
$TIME = 'en_US_POSIX' if $TIME eq 'C.UTF-8';

1;



( run in 2.309 seconds using v1.01-cache-2.11-cpan-2c0d6866c4f )