timestamp tweaks, adding tdl

This commit is contained in:
endorphant
2016-05-04 20:07:42 -04:00
parent 4ff3b2b65a
commit 8ae32eb4bb
3 changed files with 5 additions and 7 deletions

View File

@@ -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]

View File

@@ -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")