This is an automated email from the git hooks/post-receive script.

jamessan pushed a commit to branch master
in repository devscripts.

commit ce018c158551506ca5156c2edfc95466424f1ec7
Author: James McCoy <[email protected]>
Date:   Fri Dec 6 22:32:12 2013 -0500

    debchange: Honor DEBCHANGE_TZ if it's set
    
    Signed-off-by: James McCoy <[email protected]>
---
 scripts/debchange.pl | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/scripts/debchange.pl b/scripts/debchange.pl
index 3ec288d..6114592 100755
--- a/scripts/debchange.pl
+++ b/scripts/debchange.pl
@@ -992,7 +992,11 @@ if (@ARGV and ! $TEXT) {
 }
 
 # Get the date
-my $DATE=strftime "%a, %d %b %Y %T %z", localtime();
+my $DATE;
+{
+    local $ENV{TZ} = $opt_tz if $opt_tz;
+    $DATE = strftime "%a, %d %b %Y %T %z", localtime();
+}
 
 if ($opt_news && !$opt_i && !$opt_a) {
     if ($VERSION eq $changelog{'Version'} && !$opt_v && !$opt_l) {

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/collab-maint/devscripts.git

_______________________________________________
devscripts-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel

Reply via email to