Skip to content

Commit

Permalink
every x days was not calculating income properly; bumping version
Browse files Browse the repository at this point in the history
  • Loading branch information
reZach committed May 26, 2019
1 parent edc3075 commit 7db74b4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/components/Income/Income.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ class Income extends Component<Props>{
// every "x" days
while (startDate <= today){
cash += parseFloat(validIncomeRecords[i].income);
startDate.setDate(startDate.getDate() + validIncomeRecords[i].xdays);
startDate.setDate(startDate.getDate() + parseInt(validIncomeRecords[i].xdays));
}
break;
default:
Expand Down
4 changes: 2 additions & 2 deletions docs/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ <h1>{{ site.title | default: site.github.repository_name }}</h1>
<div class="downloads">
<span>Downloads:</span>
<ul>
<li><a href="https://github.com/reZach/my-budget/releases/download/v3.2.0-beta/my-budget-3.2.0-beta.msi" class="button">Windows</a></li>
<li><a href="https://github.com/reZach/my-budget/releases/download/v3.2.0-beta/my-budget-3.2.0-beta.dmg" class="button">Mac</a></li>
<li><a href="https://github.com/reZach/my-budget/releases/download/v3.2.1-beta/my-budget-3.2.1-beta.msi" class="button">Windows</a></li>
<li><a href="https://github.com/reZach/my-budget/releases/download/v3.2.1-beta/my-budget-3.2.1-beta.dmg" class="button">Mac</a></li>
<li><a href="https://github.com/reZach/my-budget/releases/latest" class="button">Linux</a></li>
</ul>
</div>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "my-budget",
"productName": "MyBudget",
"version": "3.2.0-beta",
"version": "3.2.1-beta",
"description": "Free, open source offline cross-platform budgeting solution built with Electron.",
"scripts": {
"build": "concurrently \"yarn build-main\" \"yarn build-renderer\"",
Expand Down

0 comments on commit 7db74b4

Please sign in to comment.