Launchpad WADL should indicate which fields are date fields

Bug #251837 reported by Leonard Richardson
2
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.

Curtis Hovey (sinzui)
Changed in launchpad-foundations:
status: New → Triaged
importance: Undecided → Low
tags: added: api
EvMaMo (eva-moll82)
information type: Public → Private Security
William Grant (wgrant)
information type: Private Security → Public
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Isn't the proper thing to do here to declare these fields as e.g. type xsd:date?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.