[gatein-commits] gatein SVN: r5102 - exo/portal/branches/3.1.x/gadgets/eXoGadgets/src/main/webapp/gadgets/rssAggregator.
do-not-reply at jboss.org
do-not-reply at jboss.org
Tue Nov 16 05:09:35 EST 2010
Author: kien_nguyen
Date: 2010-11-16 05:09:34 -0500 (Tue, 16 Nov 2010)
New Revision: 5102
Modified:
exo/portal/branches/3.1.x/gadgets/eXoGadgets/src/main/webapp/gadgets/rssAggregator/script.js
Log:
EXOGTN-142 [PLF] RSS gadget displays wrong publish date (update)
Modified: exo/portal/branches/3.1.x/gadgets/eXoGadgets/src/main/webapp/gadgets/rssAggregator/script.js
===================================================================
--- exo/portal/branches/3.1.x/gadgets/eXoGadgets/src/main/webapp/gadgets/rssAggregator/script.js 2010-11-16 09:19:20 UTC (rev 5101)
+++ exo/portal/branches/3.1.x/gadgets/eXoGadgets/src/main/webapp/gadgets/rssAggregator/script.js 2010-11-16 10:09:34 UTC (rev 5102)
@@ -43,7 +43,7 @@
if (isNaN(B)) {
return "an indeterminate amount of time ago"
}
- time = (new Date().getTime() 1000 - B) / 1000;
+ time = (new Date().getTime()*1000 - B) / 1000;
if (time < 60) {
return "less than a minute ago"
} else {
More information about the gatein-commits
mailing list