A local-first personal finance app
fix import (#8201)
youngcw671b346ead01
diff --git a/packages/loot-core/src/server/importers/ynab5.ts b/packages/loot-core/src/server/importers/ynab5.tsindex 6584efac9b..d58db97444 100644--- a/packages/loot-core/src/server/importers/ynab5.ts+++ b/packages/loot-core/src/server/importers/ynab5.ts@@ -78,9 +78,9 @@ function getDayOfMonth(date: string) {return monthUtils.parseDate(date).getDate();}-function getYnabMonthlyPatterns(dateFirst: string): RecurPattern[] | undefined {+function getYnabMonthlyPatterns(dateFirst: string): RecurPattern[] {if (getDayOfMonth(dateFirst) !== 31) {- return undefined;+ return [];}return [diff --git a/upcoming-release-notes/youngcw-fix-ynab-schedule-import.md b/upcoming-release-notes/youngcw-fix-ynab-schedule-import.mdnew file mode 100644index 0000000000..a53c37bd69--- /dev/null+++ b/upcoming-release-notes/youngcw-fix-ynab-schedule-import.md@@ -0,0 +1,6 @@+---+category: Bugfixes+authors: [youngcw]+---++Fix nynab schedule import adding in unneeded specific days