83
83
List of days available to the days field type. This option is only relevant
84
84
when the ``widget `` option is set to ``choice ``::
85
85
86
- // values displayed to users range from 0 to 31 (both inclusive)
86
+ // values displayed to users range from 0 to 30 (both inclusive)
87
87
'days' => range(1, 31),
88
88
89
89
// values displayed to users range from 1 to 31 (both inclusive)
@@ -116,7 +116,7 @@ hours
116
116
List of hours available to the hours field type. This option is only relevant
117
117
when the ``widget `` option is set to ``choice ``::
118
118
119
- // values displayed to users range from 0 to 24 (both inclusive)
119
+ // values displayed to users range from 0 to 23 (both inclusive)
120
120
'hours' => range(1, 24),
121
121
122
122
// values displayed to users range from 1 to 24 (both inclusive)
@@ -169,7 +169,7 @@ minutes
169
169
List of minutes available to the minutes field type. This option is only relevant
170
170
when the ``widget `` option is set to ``choice ``::
171
171
172
- // values displayed to users range from 0 to 60 (both inclusive)
172
+ // values displayed to users range from 0 to 59 (both inclusive)
173
173
'minutes' => range(1, 60),
174
174
175
175
// values displayed to users range from 1 to 60 (both inclusive)
@@ -183,7 +183,7 @@ months
183
183
List of months available to the months field type. This option is only relevant
184
184
when the ``widget `` option is set to ``choice ``::
185
185
186
- // values displayed to users range from 0 to 12 (both inclusive)
186
+ // values displayed to users range from 0 to 11 (both inclusive)
187
187
'months' => range(1, 12),
188
188
189
189
// values displayed to users range from 1 to 12 (both inclusive)
@@ -197,7 +197,7 @@ seconds
197
197
List of seconds available to the seconds field type. This option is only relevant
198
198
when the ``widget `` option is set to ``choice ``::
199
199
200
- // values displayed to users range from 0 to 60 (both inclusive)
200
+ // values displayed to users range from 0 to 59 (both inclusive)
201
201
'seconds' => range(1, 60),
202
202
203
203
// values displayed to users range from 1 to 60 (both inclusive)
@@ -211,7 +211,7 @@ weeks
211
211
List of weeks available to the weeks field type. This option is only relevant
212
212
when the ``widget `` option is set to ``choice ``::
213
213
214
- // values displayed to users range from 0 to 52 (both inclusive)
214
+ // values displayed to users range from 0 to 51 (both inclusive)
215
215
'weeks' => range(1, 52),
216
216
217
217
// values displayed to users range from 1 to 52 (both inclusive)
@@ -328,7 +328,7 @@ years
328
328
List of years available to the years field type. This option is only relevant
329
329
when the ``widget `` option is set to ``choice ``::
330
330
331
- // values displayed to users range from 0 to 100 (both inclusive)
331
+ // values displayed to users range from 0 to 99 (both inclusive)
332
332
'years' => range(1, 100),
333
333
334
334
// values displayed to users range from 1 to 100 (both inclusive)
0 commit comments