From 6626d7810961c6f657e95647377a541a69b42dfa Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Mon, 12 Dec 2022 13:37:59 +0100 Subject: expand to two days, else we do not get all of tomorrow --- elvia_gridtariff2pgsql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elvia_gridtariff2pgsql.py b/elvia_gridtariff2pgsql.py index 7b97aee..b6b423b 100755 --- a/elvia_gridtariff2pgsql.py +++ b/elvia_gridtariff2pgsql.py @@ -24,7 +24,7 @@ pg_table = "elvia_gridtariff" startTime = datetime.now(get_localzone()) - timedelta(days = 2) startTime = startTime.strftime('%Y-%m-%d') -endTime = datetime.now(get_localzone()) + timedelta(days = 1) +endTime = datetime.now(get_localzone()) + timedelta(days = 2) endTime = endTime.strftime('%Y-%m-%d') -- cgit v1.2.3