File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed
lib/internal/Magento/Framework/View Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 11<?php
22/**
3- * Copyright © Magento, Inc. All rights reserved.
4- * See COPYING.txt for license details .
3+ * Copyright 2014 Adobe
4+ * All Rights Reserved .
55 */
66namespace Magento \Framework \View \Element \Html ;
77
@@ -74,7 +74,11 @@ protected function _toHtml()
7474 [
7575 'wide ' => $ this ->encoder ->encode (array_values (iterator_to_array ($ daysData ['format ' ]['wide ' ]))),
7676 'abbreviated ' => $ this ->encoder ->encode (
77- array_values (iterator_to_array ($ daysData ['format ' ]['abbreviated ' ]))
77+ array_values (
78+ iterator_to_array (
79+ $ daysData ['format ' ]['abbreviated ' ] ?? $ daysData ['format ' ]['wide ' ]
80+ )
81+ )
7882 ),
7983 ]
8084 );
Original file line number Diff line number Diff line change 11<?php
22/**
3- * Copyright © Magento, Inc. All rights reserved.
4- * See COPYING.txt for license details .
3+ * Copyright 2014 Adobe
4+ * All Rights Reserved .
55 */
66declare (strict_types=1 );
77
@@ -51,6 +51,7 @@ public static function localesDataProvider()
5151 ['lv_LV ' ],
5252 ['sv_SE ' ],
5353 ['de_AT ' ],
54+ ['ar_SA ' ],
5455 ];
5556 }
5657
You can’t perform that action at this time.
0 commit comments