I try to deliver the timestap in a way that the MariaDB accepts.
I can simulate an inject with the app HeidiSQL and this is what I got back:
INSERT INTO digitalempire
.meterdata
(client
, project
, meter_id
, date
, value
) VALUES ('client7', 'project7', 'meter_id7', '2020-08-09 17:37:37', '7');
So this is the reason I om chopping the timestamp into bits and pieces and then shuffle them in a way that works.
I hope I make sense