Skip to content

Commit

Permalink
docs: Fix a few typos
Browse files Browse the repository at this point in the history
There are small typos in:
- src/maya/core.py

Fixes:
- Should read `preferred` rather than `prefered`.
- Should read `ambiguous` rather than `ambigous`.
  • Loading branch information
timgates42 committed Jul 12, 2022
1 parent f3f95a9 commit b127699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/maya/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ def when(string, timezone="UTC", prefer_dates_from="current_period"):
Keyword Arguments:
string -- string to be parsed
timezone -- timezone referenced from (default: 'UTC')
prefer_dates_from -- what dates are prefered when `string` is ambigous.
prefer_dates_from -- what dates are preferred when `string` is ambiguous.
options are 'past', 'future', and 'current_period'
(default: 'current_period'). see: [1]
Expand Down

0 comments on commit b127699

Please sign in to comment.