Added some example output to README.rst
This commit is contained in:
parent
e0d0c40e05
commit
3968b4ea23
1 changed files with 17 additions and 1 deletions
18
README.rst
18
README.rst
|
|
@ -1,4 +1,4 @@
|
||||||
How to install
|
Installation
|
||||||
===================
|
===================
|
||||||
|
|
||||||
There are a number of ways to install this package::
|
There are a number of ways to install this package::
|
||||||
|
|
@ -10,6 +10,22 @@ There are a number of ways to install this package::
|
||||||
or specify *ago* under the *setup_requires* list within your
|
or specify *ago* under the *setup_requires* list within your
|
||||||
*setuptools*-compatible project's *setup.py* file.
|
*setuptools*-compatible project's *setup.py* file.
|
||||||
|
|
||||||
|
What are human readable timedeltas?
|
||||||
|
========================================
|
||||||
|
|
||||||
|
ago.py makes customizable human readable timedeltas, for example:
|
||||||
|
|
||||||
|
Testing past::
|
||||||
|
|
||||||
|
Russell commented 1 year, 127 days, 16 hours ago
|
||||||
|
You replied 1 year, 127 days ago
|
||||||
|
|
||||||
|
Testing future::
|
||||||
|
|
||||||
|
Program will shutdown in 2 days, 3 hours, 27 minutes
|
||||||
|
Job will run 2 days, 3 hours from now
|
||||||
|
|
||||||
|
|
||||||
How to use
|
How to use
|
||||||
==================
|
==================
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue