aboutsummaryrefslogtreecommitdiffstats
path: root/CVSROOT
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1995-04-09 16:36:27 +0800
committerjoerg <joerg@FreeBSD.org>1995-04-09 16:36:27 +0800
commitcd32d54214c6415ccca0fbf409820dcf3a9826f4 (patch)
tree58c15ccc0ecb4a63936e00183f59ace928221481 /CVSROOT
parentf056dadae80c38934e3c407cf909c480964e5e9b (diff)
downloadfreebsd-ports-gnome-cd32d54214c6415ccca0fbf409820dcf3a9826f4.tar.gz
freebsd-ports-gnome-cd32d54214c6415ccca0fbf409820dcf3a9826f4.tar.zst
freebsd-ports-gnome-cd32d54214c6415ccca0fbf409820dcf3a9826f4.zip
Remove the TZ variable from the enironment before calling localtime()
to get the commit timestamp. This makes the time stamps comparable. I'm rather in favour for using gmtime() instead of localtime(), but i guess i cannot convince all you american guys. :) I'll let up the RCS checkout to our CVS master...
Diffstat (limited to 'CVSROOT')
-rwxr-xr-xCVSROOT/log_accum.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/CVSROOT/log_accum.pl b/CVSROOT/log_accum.pl
index 1e5dcc2547ef..b5dbf406e33c 100755
--- a/CVSROOT/log_accum.pl
+++ b/CVSROOT/log_accum.pl
@@ -158,6 +158,7 @@ sub bump_version {
sub build_header {
local($version) = @_;
local($header);
+ delete $ENV{'TZ'};
local($sec,$min,$hour,$mday,$mon,$year) = localtime(time);
$version = '';
$header = sprintf("%-8s %s %02d/%02d/%02d %02d:%02d:%02d",