Skip to content

Commit

Permalink
VM summary: consistent time/date formats in lifecycle section
Browse files Browse the repository at this point in the history
  • Loading branch information
mzazrivec committed Oct 19, 2017
1 parent 1a9b222 commit 8b3c03d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/vm_helper/textual_summary.rb
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def textual_retirement_date
return nil if @record.kind_of?(ManageIQ::Providers::Openstack::CloudManager::Template)
{:label => _("Retirement Date"),
:icon => "fa fa-clock-o",
:value => (@record.retires_on.nil? ? _("Never") : @record.retires_on.strftime("%x %R %Z"))}
:value => @record.retires_on.nil? ? _("Never") : format_timezone(@record.retires_on)}
end

def textual_retirement_state
Expand Down

0 comments on commit 8b3c03d

Please sign in to comment.