Bug with DATE_LOCALES
Posted: Thu Aug 16, 2007 1:12 pm
I think the '-' in some locales is wrong, it should be a '.' as it is in the other language-files. At my local PC it does not work with '-':
Affected files:
The tamilian language-file sets a englisch locale, but I think it should be "ta_IN.UTF-8" at least at the first place (en could be used as a fallback).
Code: Select all
$ cat test.php
<?
var_dump(setlocale(LC_TIME, 'en_US-UTF-8'));
var_dump(setlocale(LC_TIME, 'en_US.UTF-8'));
$ php test.php
bool(false)
string(11) "en_US.UTF-8"Code: Select all
UTF-8/serendipity_lang_en.inc.php
UTF-8/serendipity_lang_hu.inc.php
UTF-8/serendipity_lang_is.inc.php
UTF-8/serendipity_lang_it.inc.php
UTF-8/serendipity_lang_pl.inc.php
UTF-8/serendipity_lang_pt.inc.php
UTF-8/serendipity_lang_pt_PT.inc.php
UTF-8/serendipity_lang_ta.inc.php
serendipity_lang_en.inc.php
serendipity_lang_hu.inc.php
serendipity_lang_is.inc.php
serendipity_lang_it.inc.php
serendipity_lang_pt.inc.php
serendipity_lang_pt_PT.inc.php
serendipity_lang_ta.inc.php