From ac611b09b2f70ca19e7a53376e1f658c8544e3a6 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Thu, 25 May 2017 22:11:04 +0200 Subject: [PATCH] Change date types. --- accountant/views/scheduled_operations.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'),