Skip to content

A local-first personal finance app

:bug: (reports) 1y date range should be 12 months not 13 months (#1000)

Matiss Janis Aboltinsbcc2abf47271
diff --git a/packages/desktop-client/src/components/reports/Header.js b/packages/desktop-client/src/components/reports/Header.js
index 91355d5845..f233f6a254 100644
--- a/packages/desktop-client/src/components/reports/Header.js
+++ b/packages/desktop-client/src/components/reports/Header.js
@@ -122,7 +122,7 @@ function Header({
<Button bare onClick={() => onChangeDates(...getLatestRange(5))}>
6 months
</Button>
- <Button bare onClick={() => onChangeDates(...getLatestRange(12))}>
+ <Button bare onClick={() => onChangeDates(...getLatestRange(11))}>
1 Year
</Button>
<Button bare onClick={() => onChangeDates(...getFullRange(allMonths))}>
diff --git a/upcoming-release-notes/1000.md b/upcoming-release-notes/1000.md
new file mode 100644
index 0000000000..99da49e3c0
--- /dev/null
+++ b/upcoming-release-notes/1000.md
@@ -0,0 +1,6 @@
+---
+category: Bugfix
+authors: [MatissJanis]
+---
+
+Reports: 1y date range should be 12 months, not 13 months