From b127699de358bb8331aeeef18cc3fc54d4c6e379 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Tue, 12 Jul 2022 18:04:40 +1000 Subject: [PATCH] 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`. --- src/maya/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/maya/core.py b/src/maya/core.py index 1b5eb8d..676b1dc 100644 --- a/src/maya/core.py +++ b/src/maya/core.py @@ -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]