We are at Red Hat
'; } } else { html = 'No recent updates found.'; } // Now replace the

with our -element $('#twitter div').replaceWith(html); }); }, // Takes a date and return the number of days it's been since said date daysAgo: function (date) { // TODO: Fix date for IE... if ($.browser.msie) { return '1 day ago'; } var d = new Date(date).getTime(); var n = new Date().getTime(); var numDays = Math.round(Math.abs(n - d) / (1000 * 60 * 60 * 24)); var daysAgo = numDays + ' days ago'; if (numDays == 0) { daysAgo = 'today'; } else if (numDays == 1) { daysAgo = numDays + ' day ago'; } return daysAgo; } }; Twitter.init(); function gettext(val) { if (val.length > 80) { val = val.substring(0, 80) + " ..."; } return val; }

@REDHATJOBS

Loading...