@@ -73,7 +73,9 @@ toFromJSON x = case fromJSON . toJSON $ x of
7373
7474zonedTimeToJSON :: ZonedTime -> Bool
7575zonedTimeToJSON t = and $
76− toFromJSON' "%FT%T%QZ" t (clearTimeZone t) :
76+ toFromJSON' "%FT%T%QZ" t (clearTimeZone t) : -- (javascript new Date().toISOString())
77+ toFromJSON' "%F %T%Q%z" t t : -- (postgres)
78+ toFromJSON' "%F %T%Q %Z" t t : -- (time's Show format)
7779 toFromJSON' "%FT%T%Q%z" t t :
7880 toFromJSON' "%Y-%mT%T%Q" t (clearTimeZone . clearDay $ t) :
7981 toFromJSON' "%Y-%mT%R" t (clearTimeZone . clearDay . clearSeconds $ t) :