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:
parent
e2653c8e84
commit
c7b785510e
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user