|
@ -382,7 +382,7 @@ if __name__ == "__main__": |
|
|
elif cmd == "index": |
|
|
elif cmd == "index": |
|
|
|
|
|
|
|
|
def augment_info(info, groupinfo): |
|
|
def augment_info(info, groupinfo): |
|
|
if info.get("last_edited") != None: |
|
|
if info.get("last_edited"): |
|
|
dt = datetime.strptime( info.get("last_edited"), "%Y-%m-%dT%H:%M:%S" ) |
|
|
dt = datetime.strptime( info.get("last_edited"), "%Y-%m-%dT%H:%M:%S" ) |
|
|
info['last_edited_parsed'] = dt |
|
|
info['last_edited_parsed'] = dt |
|
|
info['last_edited_str'] = str(dt) |
|
|
info['last_edited_str'] = str(dt) |
|
|