# File lib/rhc/helpers.rb, line 28 def date(s) now = Time.now d = datetime_rfc3339(s) if now.year == d.year return d.strftime('%l:%M %p').strip if now.yday == d.yday end d.strftime('%b %d %l:%M %p') end