ajcrites / MobRuns

Stopwatch for tracking runs
0 stars 0 forks source link

Dates off by 1 month #7

Open ajcrites opened 10 years ago

ajcrites commented 10 years ago

The dates displayed in the "View Times" list are off by one month because JavaScript Date months are 0-indexed. (js/ko/model/User.js +47)

 date = date.getFullYear() + "-" + ("" + date.getMonth()).pad(0, 2)

Need to add 1 to the month.