Commit 4f80d9d3 authored by IKEDA Soji's avatar IKEDA Soji
Browse files

Another redundant use of gettext_strftime().

parent f5d4ad9e
......@@ -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 />
......
......@@ -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 = {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment