Closed Bug 809242 Opened 13 years ago Closed 13 years ago

templeton: translate datetime objects into strings in json handler

Categories

(Testing :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mcote, Unassigned)

Details

Attachments

(1 file)

The json module does not know how to translate datetime objects into strings. It would be nice if the templeton json_response decorator did this automatically, into something standard like ISO format.
Pretty straightforward.
Attachment #678938 - Flags: review?(wlachance)
Comment on attachment 678938 [details] [diff] [review] automatically translate datetimes into strings in json_response Cool!
Attachment #678938 - Flags: review?(wlachance) → review+
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: