modifying www feed timestamp

changed the timezone display to look neater
master
endorphant 2016-05-23 16:00:51 -04:00
parent 098d5a0bd2
commit 946f73290b
2 changed files with 2 additions and 2 deletions

View File

@ -710,7 +710,7 @@ def www_neighbors(users):
if lastfile: if lastfile:
last = os.path.getctime(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: else:
timestamp = "" timestamp = ""
last = 0 last = 0

View File

@ -707,7 +707,7 @@ def www_neighbors(users):
if lastfile: if lastfile:
last = os.path.getctime(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: else:
timestamp = "" timestamp = ""
last = 0 last = 0