Skip to content

Commit a3e1c57

Browse files
committed
Fixed comments
1 parent 126ae59 commit a3e1c57

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

reference/forms/types/dateinterval.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ days
8383
List of days available to the days field type. This option is only relevant
8484
when the ``widget`` option is set to ``choice``::
8585

86-
// values displayed to users range from 0 to 31 (both inclusive)
86+
// values displayed to users range from 0 to 30 (both inclusive)
8787
'days' => range(1, 31),
8888

8989
// values displayed to users range from 1 to 31 (both inclusive)
@@ -116,7 +116,7 @@ hours
116116
List of hours available to the hours field type. This option is only relevant
117117
when the ``widget`` option is set to ``choice``::
118118

119-
// values displayed to users range from 0 to 24 (both inclusive)
119+
// values displayed to users range from 0 to 23 (both inclusive)
120120
'hours' => range(1, 24),
121121

122122
// values displayed to users range from 1 to 24 (both inclusive)
@@ -169,7 +169,7 @@ minutes
169169
List of minutes available to the minutes field type. This option is only relevant
170170
when the ``widget`` option is set to ``choice``::
171171

172-
// values displayed to users range from 0 to 60 (both inclusive)
172+
// values displayed to users range from 0 to 59 (both inclusive)
173173
'minutes' => range(1, 60),
174174

175175
// values displayed to users range from 1 to 60 (both inclusive)
@@ -183,7 +183,7 @@ months
183183
List of months available to the months field type. This option is only relevant
184184
when the ``widget`` option is set to ``choice``::
185185

186-
// values displayed to users range from 0 to 12 (both inclusive)
186+
// values displayed to users range from 0 to 11 (both inclusive)
187187
'months' => range(1, 12),
188188

189189
// values displayed to users range from 1 to 12 (both inclusive)
@@ -197,7 +197,7 @@ seconds
197197
List of seconds available to the seconds field type. This option is only relevant
198198
when the ``widget`` option is set to ``choice``::
199199

200-
// values displayed to users range from 0 to 60 (both inclusive)
200+
// values displayed to users range from 0 to 59 (both inclusive)
201201
'seconds' => range(1, 60),
202202

203203
// values displayed to users range from 1 to 60 (both inclusive)
@@ -211,7 +211,7 @@ weeks
211211
List of weeks available to the weeks field type. This option is only relevant
212212
when the ``widget`` option is set to ``choice``::
213213

214-
// values displayed to users range from 0 to 52 (both inclusive)
214+
// values displayed to users range from 0 to 51 (both inclusive)
215215
'weeks' => range(1, 52),
216216

217217
// values displayed to users range from 1 to 52 (both inclusive)
@@ -328,7 +328,7 @@ years
328328
List of years available to the years field type. This option is only relevant
329329
when the ``widget`` option is set to ``choice``::
330330

331-
// values displayed to users range from 0 to 100 (both inclusive)
331+
// values displayed to users range from 0 to 99 (both inclusive)
332332
'years' => range(1, 100),
333333

334334
// values displayed to users range from 1 to 100 (both inclusive)

0 commit comments

Comments
 (0)