Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit cae078f

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 47571ec commit cae078f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/src/sgml/datatype.sgml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2174,17 +2174,17 @@ January 8 04:05:06 1999 PST
21742174
<row>
21752175
<entry><literal>today</literal></entry>
21762176
<entry><type>date</type>, <type>timestamp</type></entry>
2177-
<entry>midnight today</entry>
2177+
<entry>midnight (<literal>00:00</literal>) today</entry>
21782178
</row>
21792179
<row>
21802180
<entry><literal>tomorrow</literal></entry>
21812181
<entry><type>date</type>, <type>timestamp</type></entry>
2182-
<entry>midnight tomorrow</entry>
2182+
<entry>midnight (<literal>00:00</literal>) tomorrow</entry>
21832183
</row>
21842184
<row>
21852185
<entry><literal>yesterday</literal></entry>
21862186
<entry><type>date</type>, <type>timestamp</type></entry>
2187-
<entry>midnight yesterday</entry>
2187+
<entry>midnight (<literal>00:00</literal>) yesterday</entry>
21882188
</row>
21892189
<row>
21902190
<entry><literal>allballs</literal></entry>

0 commit comments

Comments
 (0)