mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
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
This commit is contained in:
@ -5645,6 +5645,10 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
|
||||
<entry><literal>tz</literal></entry>
|
||||
<entry>lower case time-zone name</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>OF</literal></entry>
|
||||
<entry>time-zone offset</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</table>
|
||||
|
Reference in New Issue
Block a user