mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
modified date algorithium
This commit is contained in:
parent
1b80858287
commit
ce623d963a
@ -13,8 +13,13 @@ if ($len < 2) {
|
||||
$mday = 0 . $mday
|
||||
}
|
||||
|
||||
$len = length($hour);
|
||||
if ($len < 2) {
|
||||
$hour = 0 . $hour
|
||||
}
|
||||
|
||||
$year = $year + 1900;
|
||||
|
||||
$Blddate = $year . $mon . $mday . $hour;
|
||||
$Blddate = $year . "-" . $mon . "-" . $mday . "-" . $hour;
|
||||
open (BDATE, ">c:\\CCKScripts\\bdate.bat") || die "cannot open c:\\CCKScripts\\bdate.bat: $!";
|
||||
print BDATE "set BuildID=$Blddate\n";
|
||||
|
Loading…
Reference in New Issue
Block a user