#2359 one test failed in Travis because standard medium date format is different in Travis then on my locale PC.

This commit is contained in:
Erik_r
2014-06-13 10:40:40 +02:00
parent 299d991a2e
commit 0a10e92f92
3 changed files with 7 additions and 6 deletions

View File

@@ -566,7 +566,7 @@ class Formatter extends yii\base\Component
/**
* Set a new local different to Yii configuration for temporale reason.
* @param string $locale language code and country code.
* @return \guggach\helpers\Formatter object
* @return Formatter object
*/
public function setLocale($locale = 'en-US'){
$this->locale = $locale;
@@ -723,7 +723,7 @@ class Formatter extends yii\base\Component
* standard (icu) will be taken. Without loaded "intl" extension the definition can be
* adapted in FormatDefs.php.
* @param string $sign: one sign which is set.
* @return \guggach\helpers\Formatter
* @return Formatter object
*/
public function setDecimalSeparator($sign = null){
if ($sign === null){
@@ -753,7 +753,7 @@ class Formatter extends yii\base\Component
* standard (icu) will be taken. Without loaded "intl" extension the definition can be
* adapted in FormatDefs.php.
* @param string $sign: one sign which is set.
* @return \guggach\helpers\Formatter
* @return Formatter object
*/
public function setThousandSeparator($sign = null){
if ($sign === null){