Skip to content

Commit f8e1b2b

Browse files
Merge pull request #17686 to #17685
2 parents d4b5e99 + b31a9cf commit f8e1b2b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

app/code/Magento/Wishlist/Block/AbstractBlock.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,21 @@ public function hasDescription($item)
231231
* Retrieve formated Date
232232
*
233233
* @param string $date
234+
* @deprecated
234235
* @return string
235236
*/
236237
public function getFormatedDate($date)
238+
{
239+
return $this->getFormattedDate($date);
240+
}
241+
242+
/**
243+
* Retrieve formatted Date
244+
*
245+
* @param string $date
246+
* @return string
247+
*/
248+
public function getFormattedDate($date)
237249
{
238250
return $this->formatDate($date, \IntlDateFormatter::MEDIUM);
239251
}

0 commit comments

Comments
 (0)