mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-19 09:30:44 +00:00
Bug 239018 show date in addition to time at top of tinderbox page
patch by Constantine A. Murenin <cnst+moz@bugmail.mojo.ru> r=mcafee
This commit is contained in:
parent
f1e62a9f7f
commit
ea307b37d3
@ -182,8 +182,8 @@ sub print_page_head {
|
||||
print "Content-type: text/html\n\n<HTML>\n" unless $form{static};
|
||||
|
||||
use POSIX qw(strftime);
|
||||
# Print time in format, "HH:MM timezone"
|
||||
my $now = strftime("%H:%M %Z", localtime);
|
||||
# Print time in format "YYYY-MM-DD HH:MM timezone"
|
||||
my $now = strftime("%Y-%m-%d %H:%M %Z", localtime);
|
||||
|
||||
EmitHtmlTitleAndHeader("tinderbox: $::tree", "tinderbox",
|
||||
"tree: $::tree ($now)");
|
||||
|
Loading…
x
Reference in New Issue
Block a user