docs: Fix a few typos

There are small typos in:
- src/maya/core.py

Fixes:
- Should read `preferred` rather than `prefered`.
- Should read `ambiguous` rather than `ambigous`.
This commit is contained in:
Tim Gates
2022-07-12 18:04:40 +10:00
parent f3f95a92ee
commit b127699de3
+1 -1
View File
@@ -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]