Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Sympa
Commits
4f80d9d3
Commit
4f80d9d3
authored
Dec 12, 2018
by
IKEDA Soji
Browse files
Another redundant use of gettext_strftime().
parent
f5d4ad9e
Changes
2
Hide whitespace changes
Inline
Side-by-side
default/web_tt2/viewlogs.tt2
View file @
4f80d9d3
...
...
@@ -80,7 +80,11 @@
[%# Reset button will be inserted here. ~%]
</form>
<em>[%|loc%]Search period: [%END%]<strong>[%|locdt(date_from_formated)%]%d %b %Y %H:%M:%S[%END%]</strong> [%|loc%]to[%END%] <strong>[%|locdt(date_to_formated)%]%d %b %Y %H:%M:%S[%END%]</strong></em><br />
<em>[%|loc%]Search period: [%END%]
<strong>[% date_from_formated | optdesc('unixtime') %]</strong>
[%|loc%]to[%END%]
<strong>[% date_to_formated | optdesc('unixtime') %]</strong>
</em><br />
[% IF total_results %]
<em>[%|loc(list)%]Research was carried out in list <strong>%1</strong>.[%END%]</em><br />
<br />
...
...
src/cgi/wwsympa.fcgi.in
View file @
4f80d9d3
...
...
@@ -16196,11 +16196,9 @@ sub do_viewlogs {
$param->{'total_results'} = 0;
my @date = $log->get_log_date();
$param->{'date_from_formated'} =
$language->gettext_strftime("%Y-%m-%d-%H-%M-%S", localtime($date[0]));
$param->{'date_to_formated'} =
$language->gettext_strftime("%Y-%m-%d-%H-%M-%S", localtime($date[1]));
my @dates = $log->get_log_date;
($param->{'date_from_formated'}, $param->{'date_to_formated'}) = @dates
if @dates;
# Display and search parameters preparation.
my $select = {
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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