Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/View/Helper/DateFormat.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public function getTimezone()
* @param string $locale
* @return DateFormat
*/
public function setlocale($locale)
public function setLocale($locale)
{
$this->locale = (string) $locale;
return $this;
Expand All @@ -88,7 +88,7 @@ public function setlocale($locale)
*
* @return string|null
*/
public function getlocale()
public function getLocale()
{
if ($this->locale === null) {
$this->locale = Locale::getDefault();
Expand All @@ -115,7 +115,7 @@ public function __invoke(
$pattern = null
) {
if ($locale === null) {
$locale = $this->getlocale();
$locale = $this->getLocale();
}

$timezone = $this->getTimezone();
Expand Down

0 comments on commit 71d113e

Please sign in to comment.