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
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
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
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
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
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
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
Mark Gibson
39a051940e
Added partial support for HTML5 <time> element - only handles 'datetime' attr.
2009-10-25 14:18:15 -04:00
Ryan McGeary
c2f185f7c8
Version bump to v0.7.2
2009-07-30 13:37:04 -04:00
Alex Rabarts
69a5ffcd80
Remove dependency on $.browser as it is now deprecated
2009-07-30 17:59:02 +01:00
Ryan McGeary
83ab26b4d7
version bump to 0.7.1
2009-02-18 11:26:54 -05:00
Ryan McGeary
5346cba5ae
Run substitute on all strings
2009-02-18 11:25:18 -05:00
Ryan McGeary
0cd7e1eab1
version bump to v0.7
2009-02-14 14:15:17 -05:00
Ryan McGeary
579b5c6f05
Added the ability to pass a function as a locale override [DimaD]
...
* Good for cyrillic languages, like Russian
2009-02-14 14:09:53 -05:00
Ryan McGeary
e3533cccee
Copyright 2008-2009
2009-01-25 18:53:26 -05:00
Ryan McGeary
795011da16
Fix for nasty typo
2008-10-14 22:55:20 -04:00
Ryan McGeary
3dde17c021
Deprecated 'ago' and 'fromNow' options
...
* Use 'suffixAgo' and 'suffixFromNow' instead
* Also upped version to 0.6.1
2008-10-14 08:45:42 -04:00
Ryan McGeary
189c464f18
Added support for prefixing the "ago" and "from now" qualifiers
...
* This is useful for proper phrasing in certain languages (i18n)
* This also allows for more interesting phrase possibilities
2008-10-13 17:51:52 -04:00
Ryan McGeary
e9929c1bc5
Workaround for the fact that IE6 doesn't support abbr tags
2008-08-20 22:35:27 -04:00
Ryan McGeary
b30865ba11
Added language (aka i18n, aka locale) support.
...
* Use $.timeago.settings.strings to override the default english verbiage
2008-08-19 19:40:56 -04:00
Ryan McGeary
1f7b391782
Added support for future timestamps ... "from now"
2008-08-06 07:04:15 -04:00
Ryan McGeary
d93ee6cec6
dev version bump
2008-08-05 15:43:46 -04:00
Ryan McGeary
470c67e082
version bump v0.3.2
2008-07-30 10:38:55 -04:00
Ryan McGeary
c03993e2d0
fix for when an element is passed to the programatic timeago helper
2008-07-30 10:38:21 -04:00
Ryan McGeary
8e1c2502e3
dev versioning
2008-07-30 10:25:10 -04:00
Ryan McGeary
ac65d3fe35
$.trim instead of ugly regex
2008-07-30 10:24:08 -04:00
Ryan McGeary
d43e319c02
comment tweak
2008-07-21 10:28:33 -04:00
Ryan McGeary
ad7eb3c62d
v0.3.1
2008-07-20 17:41:13 -04:00
Ryan McGeary
42077bcec0
Redefined the functionality when the helper function receives an element
2008-07-20 17:36:40 -04:00
Ryan McGeary
1a3b36cb18
Added $.timeago helper function
2008-07-20 17:08:34 -04:00
Ryan McGeary
0000974025
refreshSeconds -> refreshMillis
2008-07-20 16:08:59 -04:00
Ryan McGeary
dcd7fca962
v0.2
2008-07-19 10:38:30 -04:00
Ryan McGeary
c493a5eea6
Leave the contents alone if the timestamp is bunk
2008-07-19 10:36:59 -04:00
Ryan McGeary
de1340dc0a
v0.1.99 for development
2008-07-19 09:40:36 -04:00
Ryan McGeary
e711a26073
tweaked the verbiage "1" -> "a"
2008-07-19 09:11:30 -04:00
Ryan McGeary
93577fd6ec
first version
2008-07-18 11:34:13 -04:00