pgsql: Add timezone offset output option to to_char()

Started by Bruce Momjianabout 13 years ago1 messagescomitters
Jump to latest
#1Bruce Momjian
bruce@momjian.us

Add timezone offset output option to to_char()
Add ability for to_char() to output the timezone's UTC offset (OF). We
already have the ability to return the timezone abbeviation (TZ/tz).
Per request from Andrew Dunstan

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/7408c5d29b53fbeae0d88ab8121a42c3b4d9ed64

Modified Files
--------------
doc/src/sgml/func.sgml | 4 ++++
src/backend/utils/adt/formatting.c | 17 +++++++++++++++--
2 files changed, 19 insertions(+), 2 deletions(-)

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers