Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit d01bc6b

Browse files
committed
getDateFormatWithLongYear
1 parent d30f077 commit d01bc6b

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Customer/Block/Widget

1 file changed

+1
-1
lines changed

app/code/Magento/Customer/Block/Widget/Dob.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ public function getHtmlExtraParams()
228228
*/
229229
public function getDateFormat()
230230
{
231-
return $this->_localeDate->getDateFormat(\IntlDateFormatter::SHORT);
231+
return $this->_localeDate->getDateFormatWithLongYear();
232232
}
233233

234234
/**

0 commit comments

Comments
 (0)