diff options
author | Frederick Yin <fkfd@fkfd.me> | 2022-02-23 20:20:56 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@fkfd.me> | 2022-02-23 20:20:56 +0800 |
commit | e7c34253fecd872f13b2d4daf2b5131453322c0b (patch) | |
tree | 6f1e2c27eae4cf25dfa0168c0b6c779a120034a9 /jimbrella | |
parent | 12c33d56af21c6ea4cfe497425628e7e80631082 (diff) |
str->datetime conversion
Diffstat (limited to 'jimbrella')
-rw-r--r-- | jimbrella/routine.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jimbrella/routine.py b/jimbrella/routine.py index bb5fe82..e120517 100644 --- a/jimbrella/routine.py +++ b/jimbrella/routine.py @@ -129,7 +129,7 @@ def process_overdue(db: Umbrellas): sms.remind_overdue( umb["tenant_phone"], umb["tenant_name"], - human_datetime(umb["lent_at"]), + human_datetime(isoparse(umb["lent_at"])), umb["id"], ) |