mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-29 05:47:17 +08:00
#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:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user