File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
app/code/Magento/Customer/Block/Widget Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,6 @@ class Dob extends AbstractWidget
28
28
const MAX_DATE_RANGE_KEY = 'date_range_max ' ;
29
29
30
30
/**
31
- * Date inputs
32
- *
33
31
* @var array
34
32
*/
35
33
protected $ _dateInputs = [];
@@ -422,7 +420,8 @@ public function getTranslatedCalendarConfigJson(): string
422
420
'monthNamesShort ' => array_values (iterator_to_array ($ monthsData ['format ' ]['abbreviated ' ])),
423
421
'dayNames ' => array_values (iterator_to_array ($ daysData ['format ' ]['wide ' ])),
424
422
'dayNamesShort ' => array_values (iterator_to_array ($ daysData ['format ' ]['abbreviated ' ])),
425
- 'dayNamesMin ' => array_values (iterator_to_array ($ daysData ['format ' ]['short ' ])),
423
+ 'dayNamesMin ' =>
424
+ array_values (iterator_to_array (($ daysData ['format ' ]['short ' ]) ?: $ daysData ['format ' ]['abbreviated ' ])),
426
425
]
427
426
);
428
427
}
You can’t perform that action at this time.
0 commit comments