In case you want to modify the popover for the datetime-local use the options key datetime-local instead of date:
webshims.setOptions('forms-ext', {
types: 'datetime-local month date time number',
'datetime-local': {
popover: {
position: {
my: 'center',
at: 'center',
collision: 'fit'
}
}
}
});
In case you want to modify the popovers for all you input widgets (datetime-local, date and month) use the widgets config:
webshims.setOptions('forms-ext', {
types: 'datetime-local month date time number',
widgets: {
popover: {
position: {
my: 'center',
at: 'center',
collision: 'fit'
}
}
}
});