mirror of
https://github.com/kennethreitz/maya.git
synced 2026-06-05 06:46:14 +00:00
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:
+1
-1
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user