Skip to content

Commit ef95916

Browse files
authored
Merge pull request #29 from ParadoxZero/fix-rollover
Fix rollover logic
2 parents a41bdf2 + 235a1f7 commit ef95916

2 files changed

Lines changed: 20 additions & 3 deletions

File tree

api/models/time_unit.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public TimeUnit Increment()
2929
TimeUnit next = new TimeUnit();
3030
if (this.Month == 12)
3131
{
32-
next.Month = 0;
32+
next.Month = 1;
3333
next.Year = this.Year + 1;
3434
}
3535
else

package-lock.json

Lines changed: 19 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)