Change date types.
This commit is contained in:
parent
5fd9c81451
commit
ac611b09b2
@ -25,11 +25,11 @@ scheduled_operation_model = ns.model('ScheduledOperation', {
|
|||||||
description='Id of the scheduled operation',
|
description='Id of the scheduled operation',
|
||||||
readonly=True,
|
readonly=True,
|
||||||
default=None),
|
default=None),
|
||||||
'start_date': fields.DateTime(
|
'start_date': fields.Date(
|
||||||
dt_format='iso8601',
|
dt_format='iso8601',
|
||||||
required=True,
|
required=True,
|
||||||
description='Start date of the scheduled operation'),
|
description='Start date of the scheduled operation'),
|
||||||
'stop_date': fields.DateTime(
|
'stop_date': fields.Date(
|
||||||
dt_format='iso8601',
|
dt_format='iso8601',
|
||||||
required=True,
|
required=True,
|
||||||
description='End date of the scheduled operation'),
|
description='End date of the scheduled operation'),
|
||||||
|
Loading…
Reference in New Issue
Block a user