Get the date of the specified commit.
(commitsha)
| 99 | |
| 100 | |
| 101 | def commit_date(commitsha): |
| 102 | """Get the date of the specified commit. |
| 103 | """ |
| 104 | line = git("show -s --format=%ci") |
| 105 | dt = datetime.strptime(line.strip(), '%Y-%m-%d %H:%M:%S %z') |
| 106 | return dt |
| 107 | |
| 108 | |
| 109 | template = Template("""<%def name="group(entries)"> |