aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/hourly.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hourly.py b/src/hourly.py
index 4c44141..60d9cab 100755
--- a/src/hourly.py
+++ b/src/hourly.py
@@ -42,7 +42,7 @@ def get_vpn_connections(cursor, hour):
with open("/var/log/0tdns.log", "a") as logfile:
# round down to an hour - this datetime format is one
# of the formats accepted by postgres
- hour = strftime('%Y-%m-%d %H:00', gmtime())
+ hour = strftime('%Y-%m-%d %H:00%z', gmtime())
logfile.write("Running for {}\n".format(hour))
ztdns_config = get_ztdns_config()