Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update README.rdoc

  • Loading branch information...
commit 5543827a09d1852144965a9c4d536c09945cf402 1 parent 7cdebad
@FRickReich authored
Showing with 8 additions and 8 deletions.
  1. +8 −8 README.rdoc
View
16 README.rdoc
@@ -4,21 +4,21 @@ to use this gem, just require and run it, like this:
==== Example 1
-> require 'timeago'
-> time = Time.now - 60
-> Timeago.readable(time)
+ require 'timeago'
+ time = Time.now - 60
+ Timeago.readable(time)
and it should output
-> one minute ago
+ one minute ago
==== Example 2
-> require 'timeago'
-> time = Time.now - 13250
-> Timeago.readable(time)
+ require 'timeago'
+ time = Time.now - 13250
+ Timeago.readable(time)
this should output
-> 3 hours ago
+ 3 hours ago
this can go up to 5 years ago, after that it will change to the exact date.
Please sign in to comment.
Something went wrong with that request. Please try again.