Skip to content

Commit 066d9ce

Browse files
committed
fixed UTC missing issue
1 parent 68903a9 commit 066d9ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/sql.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2173,12 +2173,12 @@ def testRun(self):
21732173
start_date=datetime.date(2025, 11, 26),
21742174
start_time=datetime.time(12, 30),
21752175
bookedon=datetime.datetime(
2176-
2025, 10, 20, 11, 30, 0, tzinfo=zoneinfo.ZoneInfo("UTC")
2176+
2025, 10, 20, 11, 30, 0, tzinfo=zoneinfo.ZoneInfo("Europe/Rome")
21772177
),
21782178
)
21792179
db(db.meeting.id == 1).update(
21802180
bookedon=datetime.datetime(
2181-
2025, 10, 20, 11, 30, 0, tzinfo=zoneinfo.ZoneInfo("UTC")
2181+
2025, 10, 20, 11, 30, 0, tzinfo=zoneinfo.ZoneInfo("Europe/Rome")
21822182
)
21832183
)
21842184
# Test with update expressions

0 commit comments

Comments
 (0)