Skip to content

Commit

Permalink
correctly display micro-seconds in job history
Browse files Browse the repository at this point in the history
  • Loading branch information
jimweirich committed Oct 25, 2012
1 parent 59425b4 commit cdd4d6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rake/thread_history_display.rb
Expand Up @@ -18,8 +18,8 @@ def show
rename(stat[:data], :item_id, items)
rename(stat[:data], :new_thread, threads)
rename(stat[:data], :deleted_thread, threads)
printf("%8d %2s %-10s %s\n",
(stat[:time] * 100000).to_i,
printf("%8d %2s %-20s %s\n",
(stat[:time] * 1_000_000).round,
stat[:thread],
stat[:event],
stat[:data].map { |k,v| "#{k}:#{v}" }.join(" "))
Expand Down

0 comments on commit cdd4d6c

Please sign in to comment.