Launchpad WADL should indicate which fields are date fields
Bug #251837 reported by
Leonard Richardson
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
There's no JSON standard for representing dates. We've adopted a quasi-standard where we represent them as ISO8661 strings. We can help out our clients further by declaring date fields as dates in the generated WADL. Launchpadlib can pick up this information and convert the values for date fields into Python Datetime objects.
Changed in launchpad-foundations: | |
status: | New → Triaged |
importance: | Undecided → Low |
tags: | added: api |
information type: | Public → Private Security |
information type: | Private Security → Public |
To post a comment you must log in.
Isn't the proper thing to do here to declare these fields as e.g. type xsd:date?