Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
91c380dc
Commit
91c380dc
authored
Jul 27, 2002
by
gerv%gerv.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 158651 - currenttime should use time2str. Patch by burnus@gmx.de; 2xr=gerv.
parent
65757d42
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
3 deletions
+5
-3
buglist.cgi
buglist.cgi
+1
-1
globals.pl
globals.pl
+3
-0
long_list.cgi
long_list.cgi
+0
-1
list.html.tmpl
template/en/default/list/list.html.tmpl
+1
-1
No files found.
buglist.cgi
View file @
91c380dc
...
...
@@ -1539,7 +1539,7 @@ if ($::FORM{'debug'}) {
$vars
->
{
'splitheader'
}
=
$::COOKIE
{
'SPLITHEADER'
}
?
1
:
0
;
$vars
->
{
'quip'
}
=
GetQuip
();
$vars
->
{
'currenttime'
}
=
time
2str
(
"%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
)
{
...
...
globals.pl
View file @
91c380dc
...
...
@@ -1757,6 +1757,9 @@ $::vars =
# 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
,
...
...
long_list.cgi
View file @
91c380dc
...
...
@@ -99,7 +99,6 @@ $vars->{'bugs'} = \@bugs;
$vars
->
{
'use_keywords'
}
=
1
if
(
@::legal_keywords
);
$vars
->
{
'quoteUrls'
}
=
\&
quoteUrls
;
$vars
->
{
'time2str'
}
=
\&
time2str
;
$vars
->
{
'str2time'
}
=
\&
str2time
;
# Work out a sensible filename for Content-Disposition.
...
...
template/en/default/list/list.html.tmpl
View file @
91c380dc
...
...
@@ -38,7 +38,7 @@
%]
<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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment