From 8041ece17931f4647d36046bb7b44a45254053f8 Mon Sep 17 00:00:00 2001 From: endorphant Date: Sun, 22 May 2016 00:53:21 -0400 Subject: [PATCH] timezone display in the live feels feed, timestamp now indicates what deflection from UTC the time reads. this is based on the local time zone set for the user who caused the live feed to update. --- bin/_ttbp.py | 2 +- bin/ttbp.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/_ttbp.py b/bin/_ttbp.py index 8f70c9a..b52ef38 100644 --- a/bin/_ttbp.py +++ b/bin/_ttbp.py @@ -643,7 +643,7 @@ def www_neighbors(users): if lastfile: last = os.path.getctime(lastfile) - timestamp = time.strftime("%Y-%m-%d at %H:%M", time.localtime(last)) + timestamp = time.strftime("%Y-%m-%d at %H:%M", time.localtime(last)) + time.strftime(" (%z)") else: timestamp = "" last = 0 diff --git a/bin/ttbp.py b/bin/ttbp.py index 6eb9a6a..15425b4 100644 --- a/bin/ttbp.py +++ b/bin/ttbp.py @@ -641,7 +641,7 @@ def www_neighbors(users): if lastfile: last = os.path.getctime(lastfile) - timestamp = time.strftime("%Y-%m-%d at %H:%M", time.localtime(last)) + timestamp = time.strftime("%Y-%m-%d at %H:%M", time.localtime(last)) + time.strftime(" (%z)") else: timestamp = "" last = 0