Replace a simple call to localtime() to strftime() to include the
timezone.
This commit is contained in:
parent
43b7e326cc
commit
596b15845d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=177903
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue