Apply the moment format to the start and end date to avoid raising a warning. task-2845417 Part-of: odoo/odoo#91883