Skip to content

Commit 630a8f5

Browse files
committed
docs: clarify that today/tomorrow/yesterday is at 00:00
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
1 parent 873cd4f commit 630a8f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/src/sgml/datatype.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2154,17 +2154,17 @@ January 8 04:05:06 1999 PST
21542154
<row>
21552155
<entry><literal>today</literal></entry>
21562156
<entry><type>date</type>, <type>timestamp</type></entry>
2157-
<entry>midnight today</entry>
2157+
<entry>midnight (<literal>00:00</literal>) today</entry>
21582158
</row>
21592159
<row>
21602160
<entry><literal>tomorrow</literal></entry>
21612161
<entry><type>date</type>, <type>timestamp</type></entry>
2162-
<entry>midnight tomorrow</entry>
2162+
<entry>midnight (<literal>00:00</literal>) tomorrow</entry>
21632163
</row>
21642164
<row>
21652165
<entry><literal>yesterday</literal></entry>
21662166
<entry><type>date</type>, <type>timestamp</type></entry>
2167-
<entry>midnight yesterday</entry>
2167+
<entry>midnight (<literal>00:00</literal>) yesterday</entry>
21682168
</row>
21692169
<row>
21702170
<entry><literal>allballs</literal></entry>

0 commit comments

Comments
 (0)