diff --git a/src/taskflower/util/time.py b/src/taskflower/util/time.py index abdf7d7..e5f5ff3 100644 --- a/src/taskflower/util/time.py +++ b/src/taskflower/util/time.py @@ -609,7 +609,7 @@ def from_sophont_provided_data(data: str, user_tz: str = 'Etc/UTC') -> Either[Ex )) if year and month: - if year_raw is not None and year_raw < 12: + if year_raw is not None and year_raw <= 12: # User input something like "10/25". # Assume that's actually a month and a day, not a year and a month. cur = datetime.now(tz)