Commit graph

11 commits

Author SHA1 Message Date
Rich Hildebrand
9d6c2c6b64 Added "allowPast" setting. 2014-02-25 13:53:37 -05:00
Rich Hildebrand
873f0f7c10 Added a test for allowFuture = false
No change to existing functionality. Just testing existing behavior.
2014-02-25 11:35:21 -05:00
Dave
1a763d5e46 Add tests for 'dispose' action 2013-07-30 12:25:56 -04:00
Martin Solli
efdbae1c1f Cutoff setting for leaving older dates alone.
The cutoff setting, if set to something other than 0, ensures that dates
older than this number of milliseconds is not touched by timeago.
2013-05-18 13:54:06 +01:00
James Bebbington
bd42f80c17 Interpret null wordSeparator as empty string 2012-12-27 15:37:26 +00:00
Ryan McGeary
0236ebd2a4 Added space as default separator when wordSeparator setting isn't defined
Fixes #61
2012-03-12 10:12:45 -04:00
Ryan McGeary
e085a6f28d Renamed wordSep setting to wordSeparator and added tests 2012-03-03 15:18:46 -05:00
Ryan McGeary
a003945e65 Now passing the distance in milliseconds to the i18n function [Closes #8] 2010-09-14 21:44:55 -04:00
Ryan McGeary
3109ef5d86 Added support for using words instead of figures for a range of numbers
* The intention is to give the ability to support words instead of figures for numbers up to ten.
* Credit goes to Nick Zadrozny (nzadrozny) for the idea
2010-02-28 14:24:23 -05:00
Ryan McGeary
ae84945b3f Store the datetime as a jQuery data object instead of re-parsing on every refresh 2009-10-25 20:22:09 -04:00
Ryan McGeary
8a208c8a32 Cleanup of tests and docs 2009-08-15 10:26:12 -04:00