You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/utility-guides/CalendarPicker.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -206,7 +206,7 @@ This is called to select a date using the V2 calendar picker, which can be seen
206
206
1. Firstly it stores the current date in a variable: `current_date`.
207
207
2. Then `current_date` and `date` are passed onto the `calculate_v2_calendar_variables` method to calculate the necessary variables to traverse this calendar.
208
208
3. Once these variable have been calculated we call the `v2_calendar_picker_traverse_back` method to "go back in time" an expand the view of available years.
209
-
4. After we have traversed far back enough to be able to select the years we want, we call the `v2_calendar_picker_traverse_forward`methos which will take us to the year and month we want to go to.
209
+
4. After we have traversed far back enough to be able to select the years we want, we call the `v2_calendar_picker_traverse_forward`method which will take us to the year and month we want to go to.
210
210
5. Finally we call the `select_day` method to select the correct day from the calendar picker.
211
211
212
212
### Calculate V2 Calendar Variables
@@ -268,7 +268,7 @@ This is called to calculate all, of the variables needed to traverse the V2 cale
268
268
3. 25 // 10 = 2
269
269
4. 2 * 10 = 20
270
270
5. 20 + 2000 = 2020
271
-
5. Next we calculate `year`, `century`, `decade`, `month_short` and `month_long` in similar methos to above.
271
+
5. Next we calculate `year`, `century`, `decade`, `month_short` and `month_long` in similar methods to above.
272
272
6. Once all of these have been calculated, we return these variables.
273
273
274
274
### V2 Calendar Picker Traverse Back
@@ -340,7 +340,7 @@ This is called to narrow down the scope of available years on the V2 calendar pi
340
340
#### Required Arguments
341
341
342
342
-`click_month`:
343
-
- Type: `bbol`
343
+
- Type: `bool`
344
344
- This contains either `True` or `False` depending on the result from `v2_calendar_picker_traverse_back`.
0 commit comments