Change date types.

This commit is contained in:
Alexis Lahouze 2017-05-25 22:11:04 +02:00
parent 5fd9c81451
commit ac611b09b2
1 changed files with 2 additions and 2 deletions

View File

@ -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'),