From 48a8c415e8e7a6093b1c2bbd0a8402225d25ce07 Mon Sep 17 00:00:00 2001 From: Deepak Cherian Date: Fri, 26 Jul 2024 22:40:00 -0600 Subject: [PATCH] Update tests/strategies.py --- tests/strategies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/strategies.py b/tests/strategies.py index 364503ad..87cde3bb 100644 --- a/tests/strategies.py +++ b/tests/strategies.py @@ -66,7 +66,7 @@ def units(draw, *, calendar: str): dt = draw(st.datetimes()) year, month, day = dt.year, dt.month, dt.day if calendar == "360_day": - month %= 30 + day %= 30 return f"{time_units} since {year}-{month}-{day}"