Commit graph

159 commits

Author SHA1 Message Date
Ryan McGeary
d2b2a8bc9e Changed the value passed to the substitution functions from abs to signed
Instead of passing only possitive millisecond values to string substitution
functions, now a signed millisecond value is passed.  Negative impies a future
timestamp. Postive implies a past timestamp. This might seem a little backward,
but the plugin is called "timeago" afterall.
2011-12-14 09:20:18 -05:00
Ryan McGeary
bda21164a7 Public symlink for easier pow.cx linkage 2011-12-14 09:16:52 -05:00
Ryan McGeary
9b0a886354 Updated header comment for JSDoc 2011-11-28 09:31:26 -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
681c15ebdb Fixed rakefile 2011-09-23 17:03:13 -04:00
Ryan McGeary
a3d879da09 Fixed the tact in the noscript snippet 2011-09-23 16:59:49 -04:00
Ryan McGeary
62dbbf47e3 Introduced qunit setup extension for future test rewrites 2011-09-23 16:59:49 -04:00
Ryan McGeary
467827843b Updated rake tasks to automatically compile CoffeeScript
* Introduced bundler (for fssm)
2011-09-23 16:59:49 -04:00
Ryan McGeary
f6e569306f Upped qunit 2011-09-23 16:59:49 -04:00
Ryan McGeary
fe019ebac1 Merge pull request #39 from kevinsawicki/patch-1
Marked code blocks as HTML in README
2011-05-30 19:06:17 -07:00
Kevin Sawicki
9a462ad796 Updating ending block 2011-05-30 18:59:15 -07:00
Kevin Sawicki
299bfb57f2 Mark code blocks as HTML in README 2011-05-30 18:58:20 -07:00
aeggli
c2f3d8aaf9 add word separator setting for i18n, most Asian languages uses no word separator. 2011-03-18 16:14:54 +08:00
Ryan McGeary
ade04a5b15 Version bump 0.9.3 2011-01-21 16:57:05 -05:00
Randy Merrill
3751418fa2 Making all if statements have the curly braces. 2011-01-21 09:36:21 -08:00
Randy Merrill
49e782a9eb Replacing the == with === operator. 2011-01-21 09:33:34 -08:00
Randy Merrill
f6dbaa285f Placing the immediate function call inside the ). 2011-01-21 09:32:46 -08:00
Randy Merrill
627de675dc Excaping the - char in the regex. 2011-01-21 09:32:18 -08: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
0de35004bc Version bump 0.9.2 2010-09-14 21:46:58 -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
89a493cbc3 Version bump 0.9.1 2010-08-30 09:19:24 -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
Maximillian Dornseif
05abe2b454 fix for micro second precision timestamps
timeago is now able to parse timestamps wth micro-second precision.
Before timestamps like "2010-08-29 09:24:52.556066Z" resutled in an
parsing error / invalid datetime object.
2010-08-30 21:07:03 +08:00
Ryan McGeary
925b5e7041 Missing <html> tag on test page 2010-06-22 02:25:09 -04:00
Ryan McGeary
2eca91c324 HTML 5 doctype on documentation 2010-06-22 02:24:59 -04:00
Ryan McGeary
d07fef295e More explicit use of git pushing in rake publish 2010-06-21 15:13:59 -04:00
Ryan McGeary
57fd61b23d Version bump 0.9 2010-06-21 15:11:43 -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
2ee76c6d0a Removed deprecated 'ago' and 'fromNow' i18n strings 2010-02-28 14:02:35 -05:00
Ryan McGeary
9b33792c76 Base tests and demo upon jQuery 1.4.2 2010-02-17 16:50:32 -05:00
Ryan McGeary
3700277d31 Version bump 0.8.2 2010-02-16 07:50:16 -05:00
Ryan McGeary
7ba0c76ef6 Bug fix while checking for undefined attached data 2010-02-16 07:49:41 -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
6ecfa356ea Version bump 0.8.1 2010-01-04 12:44:04 -05:00
Ryan McGeary
644e63e52e Fix for time tag in HTML 5 time when using IE <8 [treyp] 2010-01-04 12:43:13 -05:00
Ryan McGeary
1e94ff79a0 copyright year 2010-01-02 22:30:20 -05:00
Ryan McGeary
799a6874f9 Updated README to explain how the title attribute is updated 2009-11-01 10:21:37 -05:00
Ryan McGeary
b23519102f Updated docs to explain how the title attribute is updated 2009-10-31 09:12:32 -04:00
Ryan McGeary
db74d8837b Additional docs on time tag support (HTML5) 2009-10-25 20:41:41 -04:00
Ryan McGeary
ee869e5634 Version bump to 0.8.0 2009-10-25 20:23:41 -04: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
Mark Gibson
39a051940e Added partial support for HTML5 <time> element - only handles 'datetime' attr. 2009-10-25 14:18:15 -04:00
Ryan McGeary
8a208c8a32 Cleanup of tests and docs 2009-08-15 10:26:12 -04:00