docs: clarify that today/tomorrow/yesterday is at 00:00
authorBruce Momjian <[email protected]>
Mon, 7 Oct 2019 21:26:46 +0000 (17:26 -0400)
committerBruce Momjian <[email protected]>
Mon, 7 Oct 2019 21:26:46 +0000 (17:26 -0400)
This should help people clearly know that these days start at midnight.

Reported-by: David Harper
Discussion: https://postgr.es/m/156258047907.1181.11324468080514061996@wrigleys.postgresql.org

Backpatch-through: 9.4

doc/src/sgml/datatype.sgml

index a9a930bd85215d0c242171c2dd2bd6d991de0d49..dca2689d9916c12ec3cc92e70fb2f790c0c1ab94 100644 (file)
@@ -2154,17 +2154,17 @@ January 8 04:05:06 1999 PST
          <row>
           <entry><literal>today</literal></entry>
           <entry><type>date</type>, <type>timestamp</type></entry>
-          <entry>midnight today</entry>
+          <entry>midnight (<literal>00:00</literal>) today</entry>
          </row>
          <row>
           <entry><literal>tomorrow</literal></entry>
           <entry><type>date</type>, <type>timestamp</type></entry>
-          <entry>midnight tomorrow</entry>
+          <entry>midnight (<literal>00:00</literal>) tomorrow</entry>
          </row>
          <row>
           <entry><literal>yesterday</literal></entry>
           <entry><type>date</type>, <type>timestamp</type></entry>
-          <entry>midnight yesterday</entry>
+          <entry>midnight (<literal>00:00</literal>) yesterday</entry>
          </row>
          <row>
           <entry><literal>allballs</literal></entry>