Commit graph

19 commits

Author SHA1 Message Date
RussellBallestrini
3cbd5101b3 The format keyword arguments were mismatched between human and delta2human.
The name of these arguments is still up for discussion.
2013-01-09 09:47:46 -05:00
RussellBallestrini
9e841d1266 ago.py 0.0.4 release
Special thanks to David Beitey (http://davidjb.com/) for supplying code and inspiration for this update!

All changes are backward compatible.

Changelog:

 * added support for future dates
 * added optional format_past keyword argument string for custom output
 * added optional format_future keyword argument string for custom output
 * added 13 tests to help prevent regressions
 * Updated the README.rst documentation for better coverage
2013-01-08 22:36:07 -05:00
RussellBallestrini
daf089fd28 Switched order of intro and how to install in README 2013-01-08 22:23:26 -05:00
RussellBallestrini
3968b4ea23 Added some example output to README.rst 2013-01-08 22:19:20 -05:00
RussellBallestrini
e0d0c40e05 More Documentation in README 2013-01-08 22:05:26 -05:00
RussellBallestrini
7333e31f43 * Added a bunch of tests
* refactored abs(delta) into delta2dict
2013-01-08 21:25:45 -05:00
RussellBallestrini
bcb2798a3f Fix test to reflect new future logic 2013-01-08 20:48:57 -05:00
RussellBallestrini
89d73aa9dd Integrated David Beitey's code (https://bitbucket.org/davidjb)
https://bitbucket.org/russellballestrini/ago/pull-request/1/add-support-for-future-dates-minor-readme/
2013-01-08 20:43:48 -05:00
RussellBallestrini
87afe070a3 Another test 2013-01-08 00:50:57 -05:00
RussellBallestrini
846593e20b Added 4 tests, more test coverage needed 2013-01-08 00:31:51 -05:00
RussellBallestrini
9406a387a2 moved test to its own file 2013-01-07 21:57:22 -05:00
RussellBallestrini
ec3cf8fbfb Update README.rst to document future human deltas 2013-01-07 21:37:34 -05:00
RussellBallestrini
7b58f3d73c David Beitey suggested adjusting README to README.rst
https://bitbucket.org/davidjb <- thanks!
2013-01-07 21:16:00 -05:00
RussellBallestrini
237a6f508a Altered human to support future dates
We should move tests into its own file
2013-01-07 21:12:29 -05:00
RussellBallestrini
6dc3268ff7 forgot to commit setup.py changes 2012-07-29 09:40:48 -04:00
RussellBallestrini
51b63aa576 moved human to delta2human and created a new wrapper function
called human which works on datetime objects instead of timedelta objects.

Updated README to document new function usage.
2012-07-29 09:15:03 -04:00
RussellBallestrini
389ee21762 added repo link to README 2012-06-29 20:38:27 -04:00
RussellBallestrini
ce0c9579b6 added a README 2012-06-29 19:56:25 -04:00
RussellBallestrini
c672eb00c9 first commit, packaged on pypi, easy_install ago! 2012-06-29 19:25:55 -04:00