# HG changeset patch # User Claudio Dema # Date 1724162905 -7200 # Node ID f444f0bfe7c2b3d6d32ec07803ef29f1cf04b1ed # Parent a7685a98dfcdbdc2d2001d01274358f45f1d65a7 Automatic upload time delta changed diff -r a7685a98dfcd -r f444f0bfe7c2 scc_access/scc_access.py --- a/scc_access/scc_access.py Sun Dec 03 16:39:00 2023 +0100 +++ b/scc_access/scc_access.py Tue Aug 20 16:08:25 2024 +0200 @@ -1102,10 +1102,10 @@ def automatic_upload(settings): - date_time_start = datetime.datetime.utcnow() - datetime.timedelta(hours=8) + date_time_start = datetime.datetime.utcnow() - datetime.timedelta(hours=4) date_time_start = date_time_start.replace(minute=0, second=0) start_parameter = date_time_start.strftime("%Y-%m-%dT%H:%M:%S") - date_time_stop = date_time_start + datetime.timedelta(hours=6) + date_time_stop = date_time_start + datetime.timedelta(hours=2) stop_parameter = date_time_stop.strftime("%Y-%m-%dT%H:%M:%S") # Altri esempi di utilizzo della libreria