Author: kien_nguyen
Date: 2010-11-17 22:55:40 -0500 (Wed, 17 Nov 2010)
New Revision: 5145
Modified:
portal/branches/branch-GTNPORTAL-1643/gadgets/eXoGadgets/src/main/webapp/gadgets/rssAggregator/script.js
Log:
GTNPORTAL-1621 RSS gadget displays wrong publish date (fix error syntax)
Modified:
portal/branches/branch-GTNPORTAL-1643/gadgets/eXoGadgets/src/main/webapp/gadgets/rssAggregator/script.js
===================================================================
---
portal/branches/branch-GTNPORTAL-1643/gadgets/eXoGadgets/src/main/webapp/gadgets/rssAggregator/script.js 2010-11-18
03:01:56 UTC (rev 5144)
+++
portal/branches/branch-GTNPORTAL-1643/gadgets/eXoGadgets/src/main/webapp/gadgets/rssAggregator/script.js 2010-11-18
03:55:40 UTC (rev 5145)
@@ -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 {
Show replies by date