$vars->{'splitheader'} = $::COOKIE{'SPLITHEADER'} ? 1 : 0;
$vars->{'quip'} = GetQuip();
-$vars->{'currenttime'} = time2str("%a %b %e %T %Z %Y", time());
+$vars->{'currenttime'} = time();
# The following variables are used when the user is making changes to multiple bugs.
if ($dotweak) {
# Function for retrieving global parameters.
'Param' => \&Param ,
+ # Function to create date strings
+ 'time2str' = \&time2str;
+
# Function for processing global parameters that contain references
# to other global parameters.
'PerformSubsts' => \&PerformSubsts ,
$vars->{'use_keywords'} = 1 if (@::legal_keywords);
$vars->{'quoteUrls'} = \"eUrls;
-$vars->{'time2str'} = \&time2str;
$vars->{'str2time'} = \&str2time;
# Work out a sensible filename for Content-Disposition.
%]
<div align="center">
- <b>[% currenttime %]</b><br>
+ <b>[% time2str("%a %b %e %T %Z %Y", currenttime) %]</b><br>
[% IF debug %]
<p>[% query FILTER html %]</p>