Skip to content

Display timestamps as relative in web interface#102

Merged
jc00ke merged 5 commits intosidekiq:masterfrom
jcoene:master
Mar 29, 2012
Merged

Display timestamps as relative in web interface#102
jc00ke merged 5 commits intosidekiq:masterfrom
jcoene:master

Conversation

@jcoene
Copy link
Contributor

@jcoene jcoene commented Mar 29, 2012

In order to make it easier to scan the status of workers and jobs, I made a few modifications to how and where timestamps appear.

  • Job-related timestamps appear as relative: "less than a minute ago" or "3 minutes from now" instead of "2012-03-29 21:11:32 UTC".
  • Added a "Started" column to the Workers table to show how long a job has been running.

Here are a few screenshots so that you can more easily decide if this is something you like or not:

http://dl.dropbox.com/u/8209236/sidekiq/worker_queue.png
http://dl.dropbox.com/u/8209236/sidekiq/retry_queue.png
http://dl.dropbox.com/u/8209236/sidekiq/retry_detail.png

Thanks for looking!

jc00ke added a commit that referenced this pull request Mar 29, 2012
Display timestamps as relative in web interface
@jc00ke jc00ke merged commit 94d2824 into sidekiq:master Mar 29, 2012
@jc00ke
Copy link
Contributor

jc00ke commented Mar 29, 2012

Nice! I love that timeago lib.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants