Use dt_ts_def in profit endpoints

This commit is contained in:
Matthias
2023-09-04 07:10:59 +02:00
parent 783a2d945e
commit 7c5a11623e
2 changed files with 5 additions and 5 deletions

View File

@@ -87,4 +87,4 @@ def test_format_date() -> None:
date = datetime(2021, 9, 30, 22, 59, 3, 455555, tzinfo=timezone.utc)
assert format_date(date) == '2021-09-30 22:59:03'
assert format_date('') == ''
assert format_date(None) == ''