Skip to content

Commit 60a8873

Browse files
Issue displaying date type columns on main grid
Probably caused by the Magento 2.4.0 update, it seems that using the "timezone" configuration in the date type columns results in a knockout.js error visible in console, that makes impossible to view the grid correctly. Removing it seems to work fine. The error is the following: "Uncaught TypeError: Unable to process binding "text: function(){return $col.getLabel($row()) }" Message: (intermediate value).toLowerCase is not a function" in file moment-timezone-with-data.js
1 parent 5c99d05 commit 60a8873

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

view/adminhtml/ui_component/cronjobmanager_manage_grid.xml

-4
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,6 @@
206206
<item name="dataType" xsi:type="string">date</item>
207207
<item name="label" xsi:type="string" translate="true">Created Date</item>
208208
<item name="draggable" xsi:type="boolean">false</item>
209-
<item name="timezone" xsi:type="boolean">true</item>
210209
</item>
211210
</argument>
212211
</column>
@@ -218,7 +217,6 @@
218217
<item name="dataType" xsi:type="string">date</item>
219218
<item name="label" xsi:type="string" translate="true">Scheduled Date</item>
220219
<item name="draggable" xsi:type="boolean">false</item>
221-
<item name="timezone" xsi:type="boolean">true</item>
222220
</item>
223221
</argument>
224222
</column>
@@ -231,7 +229,6 @@
231229
<item name="dataType" xsi:type="string">date</item>
232230
<item name="label" xsi:type="string" translate="true">Executed Date</item>
233231
<item name="draggable" xsi:type="boolean">false</item>
234-
<item name="timezone" xsi:type="boolean">true</item>
235232
</item>
236233
</argument>
237234
</column>
@@ -243,7 +240,6 @@
243240
<item name="dataType" xsi:type="string">date</item>
244241
<item name="label" xsi:type="string" translate="true">Finished Date</item>
245242
<item name="draggable" xsi:type="boolean">false</item>
246-
<item name="timezone" xsi:type="boolean">true</item>
247243
</item>
248244
</argument>
249245
</column>

0 commit comments

Comments
 (0)