2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

use gmtime

This commit is contained in:
Mark Andrews 2015-01-01 10:00:46 +11:00
parent e2653c8e84
commit c7b785510e

View File

@ -32,7 +32,7 @@ while (<COPYRIGHTS>) {
} }
close(COPYRIGHTS); close(COPYRIGHTS);
my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time()); my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = gmtime(time());
$sec = $min = $hour = $mday = $mon = $wday = $yday = $isdst = 0; $sec = $min = $hour = $mday = $mon = $wday = $yday = $isdst = 0;
$year += 1900; $year += 1900;