Output timestamps in ISO 8601 format when rendering JSON.

Andrew Dunstan <andrew@dunslane.net>

Commit: f30015b6d794c15d52abbb3df3a65081fbefb1ed
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2014-06-03T17:56:53Z
Releases: 9.4.0
Output timestamps in ISO 8601 format when rendering JSON.

Many JSON processors require timestamp strings in ISO 8601 format in
order to convert the strings. When converting a timestamp, with or
without timezone, to a JSON datum we therefore now use such a format
rather than the type's default text output, in functions such as
to_json().

This is a change in behaviour from 9.2 and 9.3, as noted in the release
notes.

Files