Whoops. I had pulled out the POSIX stuff, cause I thought it was

conflicting with something, but I was wrong and confused.  Fixed.
This commit is contained in:
terry%mozilla.org 1999-07-23 20:04:42 +00:00
Родитель 6d4e9f1a1e
Коммит dfa62f6d8c
1 изменённых файлов: 3 добавлений и 4 удалений

Просмотреть файл

@ -164,10 +164,9 @@ sub print_page_head {
# Get the warnings summary
do "$tree/warn.pl" if $nowdate eq $maxdate;
# use POSIX qw(strftime);
use POSIX qw(strftime);
# Print time in format, "HH:MM timezone"
# my $now = strftime("%H:%M %Z", localtime);
$now = "Now";
my $now = strftime("%H:%M %Z", localtime);
EmitHtmlTitleAndHeader("tinderbox: $tree", "tinderbox",
"tree: $tree ($now)");
@ -692,7 +691,7 @@ sub do_flash {
$text .= ($busted > 1 ? ' are ' : ' is ') . 'busted';
# The Flash spec says we need to give ctime.
# use POSIX;
use POSIX;
my $tm = POSIX::ctime(time());
$tm =~ s/^...\s//; # Strip day of week
$tm =~ s/:\d\d\s/ /; # Strip seconds