Skip to content

Commit

Permalink
Add time zone to status time display
Browse files Browse the repository at this point in the history
  • Loading branch information
humancopy committed Aug 12, 2011
1 parent 88bf466 commit 29062cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/resque/status.rb
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def pct_complete
# Return the time of the status initialization. If set returns a <tt>Time</tt>
# object, otherwise returns nil
def time
time? ? Time.at(self['time']).strftime("%Y/%m/%d %H:%M:%S") : nil
time? ? Time.at(self['time']).strftime("%Y/%m/%d %H:%M:%S %Z") : nil
end

STATUSES.each do |status|
Expand Down

0 comments on commit 29062cf

Please sign in to comment.