From 946f73290bd4370220d2a4fc230ca82d0d6fe628 Mon Sep 17 00:00:00 2001 From: endorphant Date: Mon, 23 May 2016 16:00:51 -0400 Subject: [PATCH] modifying www feed timestamp changed the timezone display to look neater --- 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 dec60f3..6f1055d 100644 --- a/bin/_ttbp.py +++ b/bin/_ttbp.py @@ -710,7 +710,7 @@ def www_neighbors(users): if lastfile: last = os.path.getctime(lastfile) - timestamp = time.strftime("%Y-%m-%d at %H:%M", time.localtime(last)) + time.strftime(" (%z)") + timestamp = time.strftime("%Y-%m-%d at %H:%M", time.localtime(last)) + " (utc"+time.strftime("%z")[0]+time.strftime("%z")[2]+")" else: timestamp = "" last = 0 diff --git a/bin/ttbp.py b/bin/ttbp.py index ad808af..713201a 100644 --- a/bin/ttbp.py +++ b/bin/ttbp.py @@ -707,7 +707,7 @@ def www_neighbors(users): if lastfile: last = os.path.getctime(lastfile) - timestamp = time.strftime("%Y-%m-%d at %H:%M", time.localtime(last)) + time.strftime(" (%z)") + timestamp = time.strftime("%Y-%m-%d at %H:%M", time.localtime(last)) + " (utc"+time.strftime("%z")[0]+time.strftime("%z")[2]+")" else: timestamp = "" last = 0