Re: Second-granular timezone offset format not documented

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: ysangkok(at)gmail(dot)com
Cc: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Second-granular timezone offset format not documented
Date: 2021-07-05 01:05:19
Message-ID: 1387831.1625447119@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

PG Doc comments form <noreply(at)postgresql(dot)org> writes:
> Here is an example of a format that I don't think the documentation
> currently covers:
> janus=> set timezone to 'America/Mexico_City';
> SET
> janus=> select '1920-12-25' :: timestamptz;
> timestamptz
> ------------------------------
> 1920-12-25 00:00:00-06:36:36
> (1 row)

Yeah, fair point. There's a passing mention of fractional-minute
offsets in Appendix B, but the main docs don't cover it at all.
I propose the attached draft patch.

regards, tom lane

Attachment Content-Type Size
doc-fractional-minute-offsets.patch text/x-diff 3.9 KB

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Thomas Munro 2021-07-05 06:12:30 Re: Second-granular timezone offset format not documented
Previous Message PG Doc comments form 2021-07-04 20:37:08 Second-granular timezone offset format not documented