pg_json 0.1.22 → 0.1.23
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/pg_json +1 -1
- metadata +1 -1
data/bin/pg_json
CHANGED
@@ -92,7 +92,7 @@ end
|
|
92
92
|
# "'{\"__type__\":\"timestamp\",\"value\":'||extract(epoch from data)::integer::text||'}'"
|
93
93
|
# end
|
94
94
|
simple :timestamp do
|
95
|
-
"'{\"__type__\":\"timestamp\",\"value\":\"'||to_char(data, 'YYYY-MM-DD\"T\"HH24:MI:SS\"+02:00\"'
|
95
|
+
"'{\"__type__\":\"timestamp\",\"value\":\"'||to_char(data, 'YYYY-MM-DD\"T\"HH24:MI:SS\"+02:00\"')||'\"}'"
|
96
96
|
end
|
97
97
|
|
98
98
|
while composite = ARGV.slice!(0)
|