diff --git a/accountant/views/scheduled_operations.py b/accountant/views/scheduled_operations.py index 2f48461..44ad313 100644 --- a/accountant/views/scheduled_operations.py +++ b/accountant/views/scheduled_operations.py @@ -25,11 +25,11 @@ scheduled_operation_model = ns.model('ScheduledOperation', { description='Id of the scheduled operation', readonly=True, default=None), - 'start_date': fields.DateTime( + 'start_date': fields.Date( dt_format='iso8601', required=True, description='Start date of the scheduled operation'), - 'stop_date': fields.DateTime( + 'stop_date': fields.Date( dt_format='iso8601', required=True, description='End date of the scheduled operation'),