Skip to content

Commit

Permalink
Fixed bug where extension was not displaying total pomodoros complete…
Browse files Browse the repository at this point in the history
…d in months 10 or greater.
  • Loading branch information
maggiedelano committed Oct 2, 2015
1 parent 07a04d3 commit a580e54
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions background.js
Original file line number Diff line number Diff line change
Expand Up @@ -397,10 +397,14 @@ chrome.runtime.onMessage.addListener(function(message, sender, sendResponse){
if (dd<10) {
dd='0'+dd;
}
else
dd=dd.toString();

if (mm<10) {
mm = '0'+mm;
}
else
mm=mm.toString();

var dateString = yyyy+mm+dd;

Expand Down

0 comments on commit a580e54

Please sign in to comment.