aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2006-11-23 22:04:52 +0800
committererwin <erwin@FreeBSD.org>2006-11-23 22:04:52 +0800
commitb2035ded432f646ea95aefc87f13a8cf6bce4ec6 (patch)
tree48607c3f070d8b5caab99390458a20d5947acb09 /Tools
parent7c93c84795514f8fd09cb8a4c8ce003943189cfc (diff)
downloadfreebsd-ports-gnome-b2035ded432f646ea95aefc87f13a8cf6bce4ec6.tar.gz
freebsd-ports-gnome-b2035ded432f646ea95aefc87f13a8cf6bce4ec6.tar.zst
freebsd-ports-gnome-b2035ded432f646ea95aefc87f13a8cf6bce4ec6.zip
Replace a simple call to localtime() to strftime() to include the
timezone.
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/chkversion.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tools/scripts/chkversion.pl b/Tools/scripts/chkversion.pl
index 7593b60acedf..e361244284c4 100755
--- a/Tools/scripts/chkversion.pl
+++ b/Tools/scripts/chkversion.pl
@@ -66,6 +66,7 @@
require 5.005;
use strict;
+use POSIX;
use File::Find;
use Cwd 'abs_path';
@@ -103,7 +104,7 @@ $portsdir = abs_path($portsdir);
my $versionfile = "$versiondir/VERSIONS";
my $useindex = !-w $versiondir;
-my $starttime = localtime();
+my $starttime = strftime("%a %b %e %G %k:%M:%S %Z",localtime);
sub readfrom {
my $dir = shift;
rtions'>+1 * Add size data, approved by maintainers.trevor2004-03-191-0/+1 * Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.marcus2004-02-041-0/+1 * - Update to 0.2.1dsergei2003-12-144-10/+9 * - Now logs to /var/log/ instead of application specific locationsergei2003-10-284-15/+6