maccman/motivation — pull request #1 by redhotvengeance (2014-07-12 02:33:13+00:00)
Title: Add logic to determine last year, calc milli perc

Hey @maccman,

Made a quick fix for what was creating a percentage calculation issue when running for my birthday. First I added a bit of logic to correctly tell if user's last birthday was this year or last year. Then I divide the millis from the prev birthday by the total millis in a year to create a better percentage representation.

Let me know if you have any issues or requested changes.