modifying www feed timestamp

changed the timezone display to look neater
This commit is contained in:
endorphant committed 2016-05-23 16:00:51 -04:00
1 parent 098d5a0bd2
commit 946f73290b
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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
+1 -1
View File
@@ -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