Module: QAT::Reporter::Helpers::TimeFormat
- Included in:
- Times, Times::Report
- Defined in:
- lib/qat/reporter/helpers/time_format.rb
Overview
Namespace for Times Helpers
Instance Method Summary collapse
-
#human_formatted_time(time) ⇒ Time
Gets a human formatted time.
Instance Method Details
#human_formatted_time(time) ⇒ Time
Gets a human formatted time
10 11 12 |
# File 'lib/qat/reporter/helpers/time_format.rb', line 10 def human_formatted_time(time) ::Time.at(time).utc.strftime("%Mm %Ss") end |