Upgrade failure: use .timestamp() as cur_time instead of datetime #14

Merged
vjeranc merged 6 commits from timestamp into main 2025-06-13 11:29:11 +02:00
vjeranc commented 2025-06-13 11:20:34 +02:00 (Migrated from github.com)

If db has some entries without tz, upgrading to new version breaks everything.

Having long lived datetime objects is a plague that I thought I wouldn't encounter in my code.
Switch to timestamps.
Should have known better.

If db has some entries without tz, upgrading to new version breaks everything. Having long lived `datetime` objects is a plague that I thought I wouldn't encounter in my code. Switch to timestamps. Should have known better.
Sign in to join this conversation.
No description provided.