dot

packages and services management
Log | Files | Refs | README

commit 102adf1f68497c61141f74008a9c9299d29fbbc6
parent 24de663a960eb748b6ab5c872daefc4aeeee9bda
Author: Josuah Demangeonā  ā µ <mail@josuah.net>
Date:   Tue, 21 Feb 2017 02:16:33 +0100

Fixed date format

Diffstat:
Mbin/gix | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/gix b/bin/gix @@ -53,7 +53,7 @@ log() git log --format="<tr>$( printf '<td>%s</td>' \ '%ad' '<a href="commit/%H.html">%h</a>' '%s' '%an' - )</tr>" --date=format:'%y-%m-%d %H:%M' + )</tr>" --date='short' printf '\n</tbody>\n</table>\n' } @@ -63,7 +63,7 @@ log() commit() { - git show -s --pretty=format:'<pre> + git show -s --format='<pre> <b>commit</b> <a href="%H.html">%H</a> <b>parent</b> <a href="%P.html">%P</a> <b>author</b> %an &lt;<a href="mailto:%ae">%ae</a>&gt; @@ -215,7 +215,7 @@ list() printf '<td>%s</td>' \ "$(git -C "$repo" log -1 \ --format='%cd' \ - --date=format:'%y-%m-%d %H:%M')" \ + --date='short')" \ "<a href=\"${repo##*/}\">${repo##*/}</a>" \ "$(cat "$repo/.git/description")" printf '</tr>\n'