Zend certified PHP/Magento developer

Create a product attribute type of datetime

I seem to be going around in circles trying to create a datetime product attribute that shows a date picker with the time input on a product attribute in the admin.

If I set the eav_attribute frontend_input = ‘datetime’ this has the correct behaviour when editing a single product in the admin.

But when trying to mass update attributes on multiple products then an error is thrown because of the ‘MagentoFrameworkDataFormElementFactory’ class, has a fixed list of $_standardTypes that includes ‘date’, but not ‘datetime’ as it checks the list and throws the following exception

throw new InvalidArgumentException(
$className . ' doesn't extend MagentoFrameworkDataFormElementAbstractElement');

Mass update of attributes works if I set the frontend_input = ‘date’ but then there is no time picker on the data selector in the admin.

Is there anyway to get this to work?