From 66e2243527b4f4924ed3d65b4e180e89060b3bfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Perrin?= Date: Fri, 12 Apr 2013 16:58:36 +0200 Subject: [PATCH 1/2] [Reference][Forms] Fix options type for hours, minutes, seconds --- reference/forms/types/options/hours.rst.inc | 2 +- reference/forms/types/options/minutes.rst.inc | 2 +- reference/forms/types/options/seconds.rst.inc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/reference/forms/types/options/hours.rst.inc b/reference/forms/types/options/hours.rst.inc index 383a8e14bd1..abc74ae0d50 100644 --- a/reference/forms/types/options/hours.rst.inc +++ b/reference/forms/types/options/hours.rst.inc @@ -1,7 +1,7 @@ hours ~~~~~ -**type**: ``integer`` **default**: 0 to 23 +**type**: ``years`` **default**: 0 to 23 List of hours available to the hours field type. This option is only relevant when the ``widget`` option is set to ``choice``. \ No newline at end of file diff --git a/reference/forms/types/options/minutes.rst.inc b/reference/forms/types/options/minutes.rst.inc index f2e9b4eb2c6..2104af875f8 100644 --- a/reference/forms/types/options/minutes.rst.inc +++ b/reference/forms/types/options/minutes.rst.inc @@ -1,7 +1,7 @@ minutes ~~~~~~~ -**type**: ``integer`` **default**: 0 to 59 +**type**: ``array`` **default**: 0 to 59 List of minutes available to the minutes field type. This option is only relevant when the ``widget`` option is set to ``choice``. \ No newline at end of file diff --git a/reference/forms/types/options/seconds.rst.inc b/reference/forms/types/options/seconds.rst.inc index fb8b4071b0a..4e8d5c6c9cd 100644 --- a/reference/forms/types/options/seconds.rst.inc +++ b/reference/forms/types/options/seconds.rst.inc @@ -1,7 +1,7 @@ seconds ~~~~~~~ -**type**: ``integer`` **default**: 0 to 59 +**type**: ``array`` **default**: 0 to 59 List of seconds available to the seconds field type. This option is only relevant when the ``widget`` option is set to ``choice``. \ No newline at end of file From 26bbcbac81ba3cf38922d585d30bea8eaf9057f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Perrin?= Date: Fri, 12 Apr 2013 16:59:56 +0200 Subject: [PATCH 2/2] [Reference][Forms] Fix typo introduced in previous commit --- reference/forms/types/options/hours.rst.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/forms/types/options/hours.rst.inc b/reference/forms/types/options/hours.rst.inc index abc74ae0d50..51097ca25dc 100644 --- a/reference/forms/types/options/hours.rst.inc +++ b/reference/forms/types/options/hours.rst.inc @@ -1,7 +1,7 @@ hours ~~~~~ -**type**: ``years`` **default**: 0 to 23 +**type**: ``array`` **default**: 0 to 23 List of hours available to the hours field type. This option is only relevant when the ``widget`` option is set to ``choice``. \ No newline at end of file