From 8dfc7cf04379b4951892b632a2b78cd19231d602 Mon Sep 17 00:00:00 2001 From: digimint Date: Fri, 21 Nov 2025 17:17:52 -0600 Subject: [PATCH] Slight issue with date parsing in december --- src/taskflower/util/time.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)