[book] Fix typos in rql datetime functions documentation
authorJulien Cristau <julien.cristau@logilab.fr>
Mon, 30 Jan 2012 20:57:05 +0100
changeset 8184 9be5625b1c34
parent 8183 7d658ea27ec5
child 8186 341c57b39dc9
[book] Fix typos in rql datetime functions documentation
doc/book/en/annexes/rql/language.rst
--- a/doc/book/en/annexes/rql/language.rst	Thu Jan 26 14:58:38 2012 +0100
+++ b/doc/book/en/annexes/rql/language.rst	Mon Jan 30 20:57:05 2012 +0100
@@ -614,15 +614,15 @@
 +--------------------------+----------------------------------------+
 | :func:`YEAR(Date)`       | return the year of a date or datetime  |
 +--------------------------+----------------------------------------+
-| :func:`MONTH(Date)`      | return the year of a date or datetime  |
+| :func:`MONTH(Date)`      | return the month of a date or datetime |
 +--------------------------+----------------------------------------+
-| :func:`DAY(Date)`        | return the year of a date or datetime  |
+| :func:`DAY(Date)`        | return the day of a date or datetime   |
 +--------------------------+----------------------------------------+
-| :func:`HOUR(Datetime)`   | return the year of a datetime          |
+| :func:`HOUR(Datetime)`   | return the hours of a datetime         |
 +--------------------------+----------------------------------------+
-| :func:`MINUTE(Datetime)` | return the year of a datetime          |
+| :func:`MINUTE(Datetime)` | return the minutes of a datetime       |
 +--------------------------+----------------------------------------+
-| :func:`SECOND(Datetime)` | return the year of a datetime          |
+| :func:`SECOND(Datetime)` | return the seconds of a datetime       |
 +--------------------------+----------------------------------------+
 
 .. _RQLOtherFunctions: