Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pedroadame committed May 5, 2015
1 parent 8b9baba commit d9d4689
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Use Jitpack.io ([check here](https://jitpack.io/#Kinnonii/java-timeago/timeago-1
##Usage

```java
TimeAgo time = new TimeAgo('en'); //For English text OR TimeAgo time = new TimeAgo('es') for Spanish text
TimeAgo time = new TimeAgo('en'); //For English text.

long current = System.currentTimeMillis();
String minutes = time.timeAgo(current - (15 * 60 * 1000)); // returns "15 minutes ago"
Expand Down

0 comments on commit d9d4689

Please sign in to comment.