rmm5t/jquery-timeago — pull request #75 by jgraichen (2012-05-10 09:18:25+00:00)
Title: Preserve already present title attributes in time tags.

I'm using time tags that already have a title attribute, but jquery-timeago always override that attribute.

Example:
May 10, 2012

I want browsers with disabled JavaScript to display "May 10, 2012", while browsers with JavaScript should display "x times ago". But the title attribute should always be "May 10, 2012 10:06" (similar to GitHub dashboard) to allow a different human readable time format for title and tag content.

My patch only checks if a title attribute exists if the tag is a time tag to be backward compatible with current behavior and a title attribute will still be set if no one is given.