commit: 960a05c7ad7cc79662eedee1290f9d20efc5f2d4 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Fri Apr 10 20:57:42 2015 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Fri Apr 10 20:57:42 2015 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=960a05c7
Extract "Committer Date" instead of "Author Date" as the document's date. vc-git.awk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vc-git.awk b/vc-git.awk index 5024a1b..d349a93 100644 --- a/vc-git.awk +++ b/vc-git.awk @@ -36,7 +36,7 @@ END { ### Standard encoding is UTF-8. if (Encoding == "") Encoding = "UTF-8" ### Extract relevant information from variables. - LongDate = substr(AuthorDate, 1, 25) + LongDate = substr(CommitterDate, 1, 25) DateRAW = substr(LongDate, 1, 10) DateISO = DateRAW DateTEX = DateISO