From dedd7adc9463c872c3424ce0d3e25c7798d23e63 Mon Sep 17 00:00:00 2001 From: Kulbir Kainth Date: Mon, 2 Jul 2018 13:09:04 +0200 Subject: [PATCH] Fixed safari datetime bug --- src/core-ui/highed.datatable.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core-ui/highed.datatable.js b/src/core-ui/highed.datatable.js index 59c3fa4f..222dc1aa 100644 --- a/src/core-ui/highed.datatable.js +++ b/src/core-ui/highed.datatable.js @@ -1241,6 +1241,7 @@ highed.DataTable = function(parent, attributes) { } if (highed.isStr(v) && Date.parse(v) !== NaN) { + v = v.replace(" ", "T"); //v = (new Date(v)).getTime(); }