mirror of
https://github.com/tildeclub/ttbp.git
synced 2026-01-24 18:50:18 +00:00
timestamp tweaks, adding tdl
This commit is contained in:
@@ -162,7 +162,7 @@ def meta(entries = FILES):
|
||||
for filename in entries:
|
||||
ctime = os.path.getctime(filename)
|
||||
wc = subprocess.check_output(["wc","-w",filename]).split()[0]
|
||||
timestamp = time.strftime("%Y-%m-%d %H:%M", time.localtime(ctime))
|
||||
timestamp = time.strftime("%Y-%m-%d at %H:%M", time.localtime(ctime))
|
||||
date = "-".join(parse_date(filename))
|
||||
author = os.path.split(os.path.split(os.path.split(os.path.split(filename)[0])[0])[0])[1]
|
||||
|
||||
|
||||
@@ -391,7 +391,7 @@ def view_feed():
|
||||
if len(entry[5]) < 8:
|
||||
pad = "\t"
|
||||
|
||||
entries.append("~"+entry[5]+pad+"\ton "+entry[4]+" ("+p.no("word", entry[2])+") ")
|
||||
entries.append("~"+entry[5]+pad+"\ton "+entry[3]+" ("+p.no("word", entry[2])+") ")
|
||||
|
||||
#print_menu(entries)
|
||||
view_entries(metas, entries, "most recent ten entries: \n\n")
|
||||
|
||||
Reference in New Issue
Block a user