aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2022-12-12 13:37:59 +0100
committerDennis Eriksen <d@ennis.no>2022-12-12 13:37:59 +0100
commit6626d7810961c6f657e95647377a541a69b42dfa (patch)
treed821967e48f4e6650d4937e1b8ebcc7db6951b57
parentGet for tomorrow as well (diff)
downloadenergyscripts-6626d7810961c6f657e95647377a541a69b42dfa.tar.gz
expand to two days, else we do not get all of tomorrow
-rwxr-xr-xelvia_gridtariff2pgsql.py2
1 files changed, 1 insertions, 1 deletions
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')