docs: clarify that today/tomorrow/yesterday is at 00:00
authorBruce Momjian
Mon, 7 Oct 2019 21:26:46 +0000 (17:26 -0400)
committerBruce Momjian
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 9b6d6878eb054a33af1123dc4fae4c9f438fd451..01a9ab76aa90b4ae4918b60aeb9762689495d76d 100644 (file)
@@ -2174,17 +2174,17 @@ January 8 04:05:06 1999 PST
          
           today
           datetimestamp
-          midnight today
+          midnight (00:00today
          
          
           tomorrow
           datetimestamp
-          midnight tomorrow
+          midnight (00:00tomorrow
          
          
           yesterday
           datetimestamp
-          midnight yesterday
+          midnight (00:00yesterday
          
          
           allballs