Skip to content

Commit abb65ff

Browse files
Fixed spelling issues
1 parent 33640e1 commit abb65ff

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/utility-guides/CalendarPicker.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ This is called to select a date using the V2 calendar picker, which can be seen
206206
1. Firstly it stores the current date in a variable: `current_date`.
207207
2. Then `current_date` and `date` are passed onto the `calculate_v2_calendar_variables` method to calculate the necessary variables to traverse this calendar.
208208
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.
210210
5. Finally we call the `select_day` method to select the correct day from the calendar picker.
211211

212212
### Calculate V2 Calendar Variables
@@ -268,7 +268,7 @@ This is called to calculate all, of the variables needed to traverse the V2 cale
268268
3. 25 // 10 = 2
269269
4. 2 * 10 = 20
270270
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.
272272
6. Once all of these have been calculated, we return these variables.
273273

274274
### 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
340340
#### Required Arguments
341341

342342
- `click_month`:
343-
- Type: `bbol`
343+
- Type: `bool`
344344
- This contains either `True` or `False` depending on the result from `v2_calendar_picker_traverse_back`.
345345
- `click_year`:
346346
- Type: `bool`

utils/calendar_picker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def traverse_years_in_v1_calendar(self, years_to_traverse: int) -> None:
8888
This function traverses the years on the v1 calendar picker by the number specified in years_to_traverse
8989
9090
Args:
91-
years_to_traverse (int): The number of tears we need to traverse
91+
years_to_traverse (int): The number of years we need to traverse
9292
"""
9393
if years_to_traverse > 0:
9494
for _ in range(years_to_traverse):

0 commit comments

Comments
 (0)