mirror of
https://github.com/tildeclub/ttbp.git
synced 2026-10-27 16:05:38 +00:00
modifying www feed timestamp
changed the timezone display to look neater
This commit is contained in:
1 parent
098d5a0bd2
commit
946f73290b
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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
@@ -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
|
||||
|
||||
Reference in new issue
Block a user