timestamp tweaks, adding tdl

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

View File

@ -6,11 +6,9 @@ TO-DO:
-filename validator
-only count/process entries if filename is
.ttbp/entries/YYMMDD.txt"
-browse own entries
-started this one, call 'beta' from ttbp to test,
function is view_entries() on ttbp.py
-browse other blogs
-show most recent global entries
-show most recent global entries on html
-make a nicer entry view wrapper
-maybe with a box? and a nicer feed view?
(goals for phase two)