Ryan McGeary
bf9d361e4e
Bumped version to 1.4.1
2014-05-01 14:59:05 -04:00
Tobias Nyholm
6822da82d9
Fixed bug with cutoff and allowFuture
...
To reproduce the bug use these settings:
```js
$.timeago.settings.cutoff = 7 * 86400000;// one week in milliseconds
$.timeago.settings.allowFuture = true
```
You will se that the cutoff have no effect on a future date.
2014-05-01 12:42:08 +02:00
Ryan McGeary
dceed3b1d9
Bumped version to 1.4.0
2014-03-03 09:27:11 -05:00
Ryan McGeary
fc90536dac
Merge pull request #169 from telerik/master
...
Added allowPast settings & tests
2014-03-03 09:23:53 -05:00
Ryan McGeary
61baa07698
Bumped version to 1.3.2
2014-02-27 10:08:17 -05:00
Ryan McGeary
ed44a62689
Bumped version to 1.3.1
2014-02-26 14:48:54 -05:00
Ryan McGeary
500b808f7b
Added support for 2-digit time zone designators
...
Fixes #156
2014-02-26 14:48:54 -05:00
Rich Hildebrand
9d6c2c6b64
Added "allowPast" setting.
2014-02-25 13:53:37 -05:00
Ryan McGeary
96d4406fcc
Bumped version to 1.3.1
2013-12-26 12:57:56 -05:00
Ryan McGeary
ef0ffa0df0
Added support for 2-digit time zone designators
...
Fixes #156
2013-12-26 12:57:56 -05:00
Ryan McGeary
f512100060
Merge pull request #131 from DvdGiessen/update-title-attr
...
Added support for updating locale titles
2013-10-07 08:12:25 -07:00
Dave
3b895714a6
Add 'dispose' action
...
- use with elements about to be removed from the DOM or that otherwise
no longer require updating
- only clears interval; leaves node as-is
- usage: $('.timeago').timeago('dispose');
2013-07-30 12:25:49 -04:00
Ryan McGeary
f41cfd0c6c
Bumped version to 1.3.0
2013-06-16 10:37:40 -04:00
Michael Borohovski
30d5b47d5b
Adding .timeago('updateFromDOM') function
2013-06-12 19:46:49 +00:00
Daniël van de Giessen
eee58806aa
Added support for updating locale titles
...
The 'update' method now also updates the "title"-attribute when 'localeTitle' is enabled.
2013-06-12 13:25:52 +03:00
Ryan McGeary
f2afbeaf78
Bumped version to v1.2.0
2013-05-18 18:27:54 -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
Philipp
e21aad7fe1
Missing Semicolon
2013-04-01 00:10:53 +03:00
Hong
fb4035864d
add setting to set the title to Date#toLocaleString
2013-03-19 20:53:55 -07:00
Ryan McGeary
ef05c3ea33
Bumped version to 1.1.0
2013-03-06 09:46:32 -05:00
Ryan McGeary
c499fe9a9d
Realigned whitespace
2013-03-06 09:41:52 -05:00
Christoph
ad19edc9b5
implement timeago('update', 'datestr') function
...
refactor initializer function to support different named functions
refactor init to use single each loop like the other functions
2013-03-06 13:41:13 +01:00
Ryan McGeary
4c37962663
Bumped version to 1.0.2
2013-01-24 14:43:42 -05:00
Ryan McGeary
f9a31fcafc
Realigned AMD wrapper
2013-01-24 14:42:01 -05:00
Ryan McGeary
8425e598c3
Merge pull request #108 from genexp/master
...
Adds AMD wrapper
2013-01-24 14:38:35 -05:00
Ryan McGeary
14d4fd4b79
Bumped version to 1.0.1
2013-01-21 10:36:03 -05:00
Ryan McGeary
7884f4b185
Bumped version to 1.0.0
2013-01-21 10:33:20 -05:00
Brian Corrigan
0dda6d92a1
Adds AMD wrapper
...
This is handy for working with RequireJS setups that use jQuery in noConflict mode. Without it this plugin continually tries to access the global object.
2013-01-18 22:26:07 -05:00
Ryan McGeary
47dc26620e
Narrowed the wordSeparator logic [ #105 ]
2012-12-27 11:45:54 -05:00
James Bebbington
bd42f80c17
Interpret null wordSeparator as empty string
2012-12-27 15:37:26 +00:00
Ryan McGeary
b311508ee0
Bumped version to 0.11.4
2012-06-28 22:46:05 -04:00
Arnaud Le Blanc
8083799acd
fixed parsing of timestamps with decimal fraction of a second
2012-06-28 23:16:31 +02:00
Ryan McGeary
7866aec323
Bumped version to 0.11.3
2012-05-16 11:30:44 -04:00
Ryan McGeary
c3fca2db92
Added support for $.timeago to accept a millisecond UNIX epoch value
...
#78
2012-05-16 11:30:02 -04:00
Ryan McGeary
e9aff9d663
Bumped version to 0.11.2
2012-05-10 11:41:31 -04:00
Jan Graichen
92e8705144
Preserve already present title attribute in time tags.
...
Also extract isTime check to avoid duplication.
2012-05-10 11:00:18 +02:00
Ryan McGeary
7659564dba
Updated copyright dates
2012-03-19 15:26:24 -04:00
Ryan McGeary
27e9ccf986
Bumped version to 0.11.1
2012-03-12 10:13:29 -04: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
22d6710f4b
Bumped version to 0.11
2012-03-07 11:55:17 -05: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
6d16a03665
Bumped version to 0.10.1
2012-03-03 22:20:48 -05:00
Ryan McGeary
e085a6f28d
Renamed wordSep setting to wordSeparator and added tests
2012-03-03 15:18:46 -05:00
Ryan McGeary
d11a9ccb6d
Merge remote-tracking branch 'eggli/master'
...
* eggli/master:
add word separator setting for i18n, most Asian languages uses no word separator.
2012-03-03 15:18:27 -05:00
Ryan McGeary
0477dbb36f
Bumped version to 0.10.0
2011-12-14 09:22:49 -05:00
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
9b0a886354
Updated header comment for JSDoc
2011-11-28 09:31:26 -05: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