Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitefcff3d

Browse files
committed
In the attache is new (correct) version. I add TZ (timezone) support
forto_char() too.Karel
1 parent61768d8 commitefcff3d

File tree

3 files changed

+604
-490
lines changed

3 files changed

+604
-490
lines changed

‎doc/src/sgml/func.sgml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -785,11 +785,11 @@
785785
</row>
786786
<row>
787787
<entry>W</entry>
788-
<entry>week of month</entry>
788+
<entry>week of month (1-5) where first week start on the first day of the month</entry>
789789
</row>
790790
<row>
791791
<entry>WW</entry>
792-
<entry>week number of year</entry>
792+
<entry>week number of year (1-53) where first week start on the first day of the year</entry>
793793
</row>
794794
<row>
795795
<entry>CC</entry>
@@ -811,6 +811,14 @@
811811
<entry>rm</entry>
812812
<entry>month in Roman Numerals (I-XII; I=JAN) - lower case</entry>
813813
</row>
814+
<row>
815+
<entry>TZ</entry>
816+
<entry>timezone string - upper case (not supported in the to_timestamp())</entry>
817+
</row>
818+
<row>
819+
<entry>tz</entry>
820+
<entry>timezone string - lower case (not supported in the to_timestamp())</entry>
821+
</row>
814822
</tbody>
815823
</tgroup>
816824
</table>
@@ -871,9 +879,12 @@
871879
<listitem>
872880
<para>
873881
<function>to_timestamp</function> and <function>to_date</function>
874-
skip blank space if the <literal>FX</literal> option is
875-
not used. <literal>FX</literal> must be specified as the first item
876-
in the template.
882+
skip multiple blank space in converted string if the <literal>FX</literal> option
883+
is not used. <literal>FX</literal> must be specified as the first item
884+
in the template; for example
885+
<literal>to_timestamp('2000 JUN','YYYY MON')</literal> is right, but
886+
<literal>to_timestamp('2000 JUN','FXYYYY MON')</literal> returns error,
887+
because to_timestamp() expects one blank space only.
877888
</para>
878889
</listitem>
879890

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp