Item missingPiecesDate and itemDamagedStatusDate properties should use date-time format

Description

The missingPiecesDate property in the item JSON schema is defined as the following:

I propose that a format property of date-time be added like below so that it is clear that the type of the field is date/time.

The itemDamagedStatusDate property in the item JSON schema is defined as the following:

I propose that a format property of date-time be added like below so that it is clear that the type of the field is date/time.

This is useful for code generation tools. Otherwise, the field comes out as a string rather than a date/time data type.

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Viacheslav KolesnykOctober 18, 2023 at 9:10 AM

we can implement this but it may require some migrations and may bring some problems as this field will be validated for format.

Jon MillerOctober 7, 2020 at 2:24 PM

I'm not sure I would tag issues like this as compatibility breaking. I'm pretty sure the app will continue working with the data as it is with only the date part of the date/time provided. I would have to test it.

Details

Assignee

Reporter

Priority

Development Team

Spitfire

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created October 7, 2020 at 5:31 AM
Updated January 9, 2024 at 11:43 PM
TestRail: Cases
TestRail: Runs