This commit improves the support for time in the datetime picker by doing two things: - allow to pick seconds by giving a rounding value of 0 - check minDate and maxDate by accounting for the time when the picker is in datetime mode instead of only checking the date Part-of: odoo/odoo#133349