lib/wassup/helpers/github.rb in wassup-0.3.1 vs lib/wassup/helpers/github.rb in wassup-0.3.2
- old
+ new
@@ -125,10 +125,10 @@
date = Time.parse(published_at)
days = (Time.now - date).to_i / (24 * 60 * 60)
days_formatted = '%3.3s' % days.to_s
- display = "[fg=yellow]#{tag_name} [fg=cyan]#{days_formatted} ago [fg=gray]#{name}"
+ display = "[fg=yellow]#{tag_name} [fg=cyan]#{days_formatted}d ago [fg=gray]#{name}"
return display
end
end
end