Skip to content

Commit

Permalink
typo in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
pvledoux committed Apr 25, 2012
1 parent 9999873 commit 6139ff1
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#Pvl Nice_time v.0.2

This plugin convert a date in relative time.
It will output **'now'** if the date given is less then 5 seconds ago, **'xx unit ago'** will be outputed for longuer intervals (where unit will be seconds, minutes, hours, days or weeks). If the date is greater than 4 weeks, it will return the full date formatted with the parameter _format_.
This plugin converts a date in relative time.
It will output **'now'** if the date given is less then 5 seconds ago, **'xx unit ago'** will be outputted for longer intervals (where unit will be seconds, minutes, hours, days or weeks). If the date is greater than 4 weeks, it will return the full date formatted with the parameter _format_.

##Syntax

Expand All @@ -20,6 +20,14 @@ It will output **'now'** if the date given is less then 5 seconds ago, **'xx uni
</tr>
</table>

##Future improvements

* Allow to translate the output
* Add parameters for the delay between the 'now', the 'xx unit ago' ouput and the normal date output
* Allow the use of tag pairs or single tag

Any improvement or remarks are welcome.



##Licence
Expand Down

0 comments on commit 6139ff1

Please sign in to comment.