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

Commit

Permalink
Update library/Zend/I18n/View/Helper/DateFormat.php
Browse files Browse the repository at this point in the history
  • Loading branch information
chrvadala committed Oct 24, 2012
1 parent 5b1496d commit 0054e2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Zend/I18n/View/Helper/DateFormat.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public function __invoke(
}

$timezone = $this->getTimezone();
$formatterId = md5($dateType . "\0" . $timeType . "\0" . $locale);
$formatterId = md5($dateType . "\0" . $timeType . "\0" . $locale ."\0" . $pattern);

if (!isset($this->formatters[$formatterId])) {
$this->formatters[$formatterId] = new IntlDateFormatter(
Expand Down

0 comments on commit 0054e2c

Please sign in to comment.