Doku vervollständigt, kleinere Fehler bereinigt

This commit is contained in:
2016-06-23 18:53:02 +02:00
parent 70d2a68ced
commit 3c2aabbdf5
5 changed files with 393 additions and 84 deletions

View File

@ -17,12 +17,12 @@ headcommit = repo.head.commit
index = repo.index
commFiles = git.diff_tree('-r', 'HEAD', no_commit_id=True, name_only=True).split("\n")
date = [time.strftime("%d. %B %Y %H:%M", time.gmtime(headcommit.authored_date)),
time.strftime("%d", time.gmtime(headcommit.authored_date)),
time.strftime("%m", time.gmtime(headcommit.authored_date)),
time.strftime("%Y", time.gmtime(headcommit.authored_date)),
time.strftime("%H", time.gmtime(headcommit.authored_date)),
time.strftime("%M", time.gmtime(headcommit.authored_date))]
date = [time.strftime("%d. %B %Y %H:%M", time.localtime(headcommit.authored_date)),
time.strftime("%d", time.localtime(headcommit.authored_date)),
time.strftime("%m", time.localtime(headcommit.authored_date)),
time.strftime("%Y", time.localtime(headcommit.authored_date)),
time.strftime("%H", time.localtime(headcommit.authored_date)),
time.strftime("%M", time.localtime(headcommit.authored_date))]
author = [headcommit.author.name, headcommit.author.email]
commit = [headcommit.hexsha, headcommit.hexsha[:6]]
#commit = git.log('-1', format='%h').rstrip()