StanfordHCI/foundry — pull request #132 by dretelny (2014-12-05 06:28:51+00:00)
Title: Dr timer fix

Solved issue #131 that was causing times with minutes < 10 (such as 1 hour and 5 minutes) to not show the first zero (i.e. it would show up as 1:5 instead of 1:05). When testing, you need to check times in three places:

1) Make sure the minute value in the task timer always has two digits (especially when the minute value is < 10)
2) In the task modal, make sure that the start time for times with minute values < 10 always shows two digits (i.e. a task that starts at 2 hours should show 2:00)
3) In the task modal, make sure that the time remaining for times with minute values < 10 always shows two digits (i.e. a task with 1 hour 0 minutes remaining should show 1:00)