File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -930,22 +930,22 @@ $ <userinput>cal 9 1752</userinput>
930
930
<para>
931
931
This definition does, however, provide a way to obtain the astronomical
932
932
definition when you need it: do the arithmetic in time
933
- zone <literal>UTC- 12</literal>. For example,
933
+ zone <literal>UTC+ 12</literal>. For example,
934
934
<programlisting>
935
- => SELECT extract(julian from '2021-06-23 7:00:00-04'::timestamptz at time zone 'UTC- 12');
935
+ => SELECT extract(julian from '2021-06-23 7:00:00-04'::timestamptz at time zone 'UTC+ 12');
936
936
date_part
937
937
--------------------
938
- 2459389 .9583333335
938
+ 2459388 .9583333335
939
939
(1 row)
940
- => SELECT extract(julian from '2021-06-23 8:00:00-04'::timestamptz at time zone 'UTC- 12');
940
+ => SELECT extract(julian from '2021-06-23 8:00:00-04'::timestamptz at time zone 'UTC+ 12');
941
941
date_part
942
942
-----------
943
- 2459390
943
+ 2459389
944
944
(1 row)
945
- => SELECT extract(julian from date '2021-06-24 ');
945
+ => SELECT extract(julian from date '2021-06-23 ');
946
946
date_part
947
947
-----------
948
- 2459390
948
+ 2459389
949
949
(1 row)
950
950
</programlisting>
951
951
</para>
You can’t perform that action at this time.
0 commit comments