Fix typo
This commit is contained in:
parent
089d9f734a
commit
6ac8d29d18
@ -119,7 +119,7 @@ class IntlDateFormatter
|
|||||||
/**
|
/**
|
||||||
* @var bool
|
* @var bool
|
||||||
*/
|
*/
|
||||||
private $unitializedTimeZoneId = false;
|
private $uninitializedTimeZoneId = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string
|
* @var string
|
||||||
@ -371,7 +371,7 @@ class IntlDateFormatter
|
|||||||
*/
|
*/
|
||||||
public function getTimeZoneId()
|
public function getTimeZoneId()
|
||||||
{
|
{
|
||||||
if (!$this->unitializedTimeZoneId) {
|
if (!$this->uninitializedTimeZoneId) {
|
||||||
return $this->timeZoneId;
|
return $this->timeZoneId;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -551,7 +551,7 @@ class IntlDateFormatter
|
|||||||
$timeZoneId = getenv('TZ') ?: 'UTC';
|
$timeZoneId = getenv('TZ') ?: 'UTC';
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->unitializedTimeZoneId = true;
|
$this->uninitializedTimeZoneId = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Backup original passed time zone
|
// Backup original passed time zone
|
||||||
|
Reference in New Issue
Block a user