lib/reporter/default/properties_chef.rb in onering-report-plugins-0.0.2 vs lib/reporter/default/properties_chef.rb in onering-report-plugins-0.0.3

- old
+ new

@@ -6,10 +6,10 @@ :name => Facter.value('chef_nodename'), :environment => Facter.value('chef_environment'), :@run_list => Facter.value('chef_runlist'), :enabled => Facter.value('chef_enabled'), :version => Facter.value('chef_version'), - :last_ran_at => (Time.at(Facter.value('chef_lastrun')) rescue nil) + :last_ran_at => (Time.at(Facter.value('chef_lastrun')).strftime('%Y-%m-%d %H:%M:%S %z') rescue nil) }.reject{|k,v| v === nil } property :chef, chef unless chef.empty? end