jsapi_compiled_default_module.js:213 Uncaught (in promise) Error: Type mismatch. Value Oct 22, 2020 11:52 does not match type datetime in column index 0
at gvjs_oj (jsapi_compiled_default_module.js:213)
at gvjs_9aa (jsapi_compiled_default_module.js:228)
at gvjs_G.gvjs_.a_ (jsapi_compiled_default_module.js:230)
at gvjs_G.gvjs_.Pp (jsapi_compiled_default_module.js:231)
at drawChart (calendar:959)
Error: Type mismatch. Value Oct 22, 2020 11:52 does not match type datetime in column index 0
the column expecting datetime, where the value Oct 22, 2020 11:52 is not a datetime type.... so parse it to datetime value before you passing to the column..
Hi @extjac you should try using Carbon::parse($date)
In order for a date to be proper datetime it must follow the format of "Y-m-d H:m:s"
Therefore your date must be in the form of "2020-11-22 11:52:00" in order to be a valid datetime.