Commit graph

36 commits

Author SHA1 Message Date
Ryan McGeary
54a466d81b Changed wording of failed test messages 2013-12-26 12:57:56 -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
Ryan McGeary
ed6487a801 Removed unused qunit_setup 2013-03-06 09:42:55 -05:00
Ryan McGeary
de2fbdae3f Upgraded test suite to qunit 1.11.0 2013-02-01 17:13:59 -05:00
James Bebbington
bd42f80c17 Interpret null wordSeparator as empty string 2012-12-27 15:37:26 +00:00
Ryan McGeary
2877ea8dbc Updated tenths,hundreths,millis,microsec tests 2012-09-01 09:44:07 -04:00
Ryan McGeary
e0eca33bb4 Fixed terminology in some of the tests 2012-06-28 22:44:56 -04:00
Arnaud Le Blanc
8083799acd fixed parsing of timestamps with decimal fraction of a second 2012-06-28 23:16:31 +02:00
Jan Graichen
c8ca83c78d Add tests for title attribute preservation of time tags. 2012-05-10 10:58:27 +02: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
a56c87db01 Merge remote-tracking branch 'Akral/master' into natural_rounding
* Akral/master:
  Natural rounding for days, months and years.
2012-03-07 11:45:49 -05:00
Denis Sokolov
5353c1849d Natural rounding for days, months and years. 2012-03-04 16:47:20 +01:00
Ryan McGeary
e085a6f28d Renamed wordSep setting to wordSeparator and added tests 2012-03-03 15:18:46 -05:00
Ryan McGeary
d799132733 Upped jquery to 1.7.1 in the examples and test suite 2011-12-14 09:21:18 -05:00
Ryan McGeary
186390b9ef Removed test that adds little value and causes issues in Chrome alone 2011-11-02 17:27:32 -04:00
Ryan McGeary
62dbbf47e3 Introduced qunit setup extension for future test rewrites 2011-09-23 16:59:49 -04:00
Ryan McGeary
f6e569306f Upped qunit 2011-09-23 16:59:49 -04:00
Ryan McGeary
af78c1cca8 Fixed test suite to pass on IE 2010-10-26 19:47:33 -04:00
Ryan McGeary
9ba708c4bd Upped QUnit to fix test running under IE 2010-10-26 19:47:24 -04: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
e376c383b3 Upped qunit 2010-08-30 09:15:38 -04:00
Ryan McGeary
938ea3fc7d Added test for microsecond support 2010-08-30 09:09:57 -04:00
Ryan McGeary
925b5e7041 Missing <html> tag on test page 2010-06-22 02:25:09 -04:00
Ryan McGeary
e8e3072d77 Added support for milliseconds in ISO 8601 timestamps [Closes #13] 2010-06-21 15:09:54 -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
9b33792c76 Base tests and demo upon jQuery 1.4.2 2010-02-17 16:50:32 -05:00
Ryan McGeary
a7df538960 I'm anal retentive about consistent use of double quotes 2010-01-27 17:30:51 -05:00
Ryan McGeary
1033d1e849 Fixed test for the new aggressive date parsing in Firefox 3.6 2010-01-27 17:21:45 -05:00
Ryan McGeary
dc78c0ff9f Upped to jQuery 1.4 2010-01-15 13:31:03 -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
a5c1424d69 Added tests for HTML5 <time> element support 2009-10-25 14:18:28 -04:00
Ryan McGeary
8a208c8a32 Cleanup of tests and docs 2009-08-15 10:26:12 -04:00
Ryan McGeary
91aa57e2ad Renamed test/test.html to test/index.html 2009-07-30 13:31:38 -04:00
Ryan McGeary
9f15ffae84 Fixed tests to work while running under different browser time zones 2009-07-30 13:28:31 -04:00
Alex Rabarts
70abcc76cf Automate tests with QUnit 2009-07-30 17:58:27 +01:00