Permalink
Browse files

fix display of time

  • Loading branch information...
1 parent c9721ab commit e75628655b07d4d5c8285186943ca2a9c8d5371d @kevintyll committed Jan 7, 2010
Showing with 9 additions and 4 deletions.
  1. +1 −0 MIT-LICENSE
  2. +7 −3 README
  3. +1 −1 app/views/resque/_workers.html.erb
View
@@ -1,3 +1,4 @@
+Copyright (c) 2009 Chris Wanstrath
Copyright (c) 2010 Kevin Tyll
Permission is hereby granted, free of charge, to any person obtaining
View
@@ -1,13 +1,17 @@
ResqueUi
========
-Introduction goes here.
+Resque UI is a Rails plugin port of the Sinatra app that is included in Chris Wanstrath's resque gem. We love the gem and love the UI,
+but just didn't want to add Sinatra to our stack.
-Example
+Installation
=======
-Example goes here.
+script/plugin install git://github.com/kevintyll/resque_ui.git
+Once installed, you now have a resque controller, so you can get to the ui with: http://your_domain/resque.
+
+Copyright (c) 2009 Chris Wanstrath
Copyright (c) 2010 Kevin Tyll, released under the MIT license
@@ -19,7 +19,7 @@
<% host, pid, queues = worker.to_s.split(':') %>
<td><%= host %></td>
<td><%= pid %></td>
- <td><span class="time"><%= worker.started %></a></td>
+ <td><span class="time"><%= worker.started.to_time.strftime("%Y/%m/%d %H:%M:%S") %></a></td>
<td class='queues'><%= queues.split(',').map { |q| link_to(q, {:action => 'queues', :id => q}, :class => 'queue-tag')}.join('') %></td>
<td><%= worker.processed %></td>
<td><%= worker.failed %></td>

0 comments on commit e756286

Please sign in to comment.