Skip to content

Commit ccdfac8

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 7eefec6 commit ccdfac8

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
@@ -2163,17 +2163,17 @@ January 8 04:05:06 1999 PST
21632163
<row>
21642164
<entry><literal>today</literal></entry>
21652165
<entry><type>date</type>, <type>timestamp</type></entry>
2166-
<entry>midnight today</entry>
2166+
<entry>midnight (<literal>00:00</literal>) today</entry>
21672167
</row>
21682168
<row>
21692169
<entry><literal>tomorrow</literal></entry>
21702170
<entry><type>date</type>, <type>timestamp</type></entry>
2171-
<entry>midnight tomorrow</entry>
2171+
<entry>midnight (<literal>00:00</literal>) tomorrow</entry>
21722172
</row>
21732173
<row>
21742174
<entry><literal>yesterday</literal></entry>
21752175
<entry><type>date</type>, <type>timestamp</type></entry>
2176-
<entry>midnight yesterday</entry>
2176+
<entry>midnight (<literal>00:00</literal>) yesterday</entry>
21772177
</row>
21782178
<row>
21792179
<entry><literal>allballs</literal></entry>

0 commit comments

Comments
 (0)