Commit: f63ee4060239525713ba87016908d06fa75d903d Author: Alexander Moskaliov <ir...@php.net> Tue, 1 May 2012 11:40:32 +0400 Parents: bc220ca91ec470baab210cb652c22f10abc689c6 Branches: master
Link: http://git.php.net/?p=karma.git;a=commitdiff;h=f63ee4060239525713ba87016908d06fa75d903d Log: Replace author by committer date in mail date header Changed paths: M lib/Git/PostReceiveHook.php Diff: diff --git a/lib/Git/PostReceiveHook.php b/lib/Git/PostReceiveHook.php index e331101..f43a160 100644 --- a/lib/Git/PostReceiveHook.php +++ b/lib/Git/PostReceiveHook.php @@ -549,7 +549,7 @@ class PostReceiveHook extends ReceiveHook $mail = new \Mail(); $mail->setSubject($this->emailPrefix . 'com ' . $this->getRepositoryShortName() . ': ' . $info['subject'] . ': '. implode(' ', array_keys($paths))); - $mail->setTimestamp(strtotime($info['author_date'])); + $mail->setTimestamp(strtotime($info['committer_date'])); $message = ''; -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php