зеркало из https://github.com/mozilla/gecko-dev.git
Bug 478161 - 5th arg of mktime should begin at zero; r=ted.mielczarek
This commit is contained in:
Родитель
67f87f0e6a
Коммит
6f34484675
|
@ -54,8 +54,8 @@ sub daysFromBuildID
|
|||
$d || die("Unrecognized buildid string.");
|
||||
|
||||
my $secondstodays = 60 * 60 * 24;
|
||||
return (POSIX::mktime(00, 00, 00, $d, $m, $y - 1900) -
|
||||
POSIX::mktime(00, 00, 00, 01, 01, 100)) / $secondstodays;
|
||||
return (POSIX::mktime(00, 00, 00, $d, $m - 1, $y - 1900) -
|
||||
POSIX::mktime(00, 00, 00, 01, 00, 100)) / $secondstodays;
|
||||
}
|
||||
|
||||
#Creates version resource file
|
||||
|
|
|
@ -54,8 +54,8 @@ sub daysFromBuildID
|
|||
$d || die("Unrecognized buildid string.");
|
||||
|
||||
my $secondstodays = 60 * 60 * 24;
|
||||
return (POSIX::mktime(00, 00, 00, $d, $m, $y - 1900) -
|
||||
POSIX::mktime(00, 00, 00, 01, 01, 100)) / $secondstodays;
|
||||
return (POSIX::mktime(00, 00, 00, $d, $m - 1, $y - 1900) -
|
||||
POSIX::mktime(00, 00, 00, 01, 00, 100)) / $secondstodays;
|
||||
}
|
||||
|
||||
#Creates version resource file
|
||||
|
|
Загрузка…
Ссылка в новой задаче