Skip to content

Instantly share code, notes, and snippets.

@rayshih
Created August 8, 2012 11:57
Show Gist options
  • Save rayshih/3294558 to your computer and use it in GitHub Desktop.
Save rayshih/3294558 to your computer and use it in GitHub Desktop.
Sun the total time like [12h] in trello
javascript:(function(){total = 0;$($(".list-area").html().match(/\[([^\]]+)h\]/g)).each(function(i, s){total += parseInt(s.match(/\d+/))});alert(total + "\n" + total/8);})();
@rayshih
Copy link
Author

rayshih commented Aug 8, 2012

To Install: Create a bookmark and copy this gist to url field.
Usage: click the bookmark, then it will sum the total tims

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment