Skip to content

Commit

Permalink
Upgrade Deno & Dependencies + fix 1st of the month bug
Browse files Browse the repository at this point in the history
Fixes a bug where on the 1st of the month you couldn't get recurring expenses to be properly copied, after deleting all budgets
  • Loading branch information
BrunoBernardino committed Apr 1, 2023
1 parent 185c160 commit 0a81c7e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .dvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.30.3
1.32.1
2 changes: 1 addition & 1 deletion .github/workflows/cron-check-subscriptions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v3
- uses: denoland/setup-deno@v1
with:
deno-version: v1.30.3
deno-version: v1.32.1
- env:
POSTGRESQL_HOST: ${{ secrets.POSTGRESQL_HOST }}
POSTGRESQL_USER: ${{ secrets.POSTGRESQL_USER }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cron-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v3
- uses: denoland/setup-deno@v1
with:
deno-version: v1.30.3
deno-version: v1.32.1
- env:
POSTGRESQL_HOST: ${{ secrets.POSTGRESQL_HOST }}
POSTGRESQL_USER: ${{ secrets.POSTGRESQL_USER }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- uses: actions/checkout@v3
- uses: denoland/setup-deno@v1
with:
deno-version: v1.30.3
deno-version: v1.32.1
- run: docker-compose pull
- uses: jpribyl/action-docker-layer-caching@v0.1.1
continue-on-error: true
Expand Down
2 changes: 1 addition & 1 deletion import_map.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"/": "./",
"./": "./",

"std/": "https://deno.land/std@0.168.0/"
"std/": "https://deno.land/std@0.180.0/"
}
}
2 changes: 1 addition & 1 deletion public/ts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ document.addEventListener('app-loaded', async () => {
// If this is for the current or next month and there are no budgets, create budgets based on the previous/current month.
if (budgets.length === 0 && !isComingFromEmptyState) {
const currentMonthDate = new Date(`${currentMonth}-15`);
currentMonthDate.setMonth(currentMonthDate.getMonth() + 1);
currentMonthDate.setMonth(currentMonthDate.getMonth());
const actualCurrentMonth = currentMonthDate.toISOString().substring(0, 7);

const nextMonthDate = new Date();
Expand Down

0 comments on commit 0a81c7e

Please sign in to comment.