From c871937d9305e700edbdefc9fe284c1492e2cdcb Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Mon, 9 Mar 2015 02:51:36 +0100 Subject: [PATCH] Fix for quarter divisions on reports --- Logic/Financial/YearlyReport.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Logic/Financial/YearlyReport.cs b/Logic/Financial/YearlyReport.cs index 336c749c..6dadf237 100644 --- a/Logic/Financial/YearlyReport.cs +++ b/Logic/Financial/YearlyReport.cs @@ -241,8 +241,8 @@ namespace Swarmops.Logic.Financial DateTime[] quarterBoundaries = { - new DateTime (this.Year, 1, 1), new DateTime (this.Year, 3, 1), new DateTime (this.Year, 6, 1), - new DateTime (this.Year, 9, 1), new DateTime (this.Year + 1, 1, 1) + new DateTime (this.Year, 1, 1), new DateTime (this.Year, 4, 1), new DateTime (this.Year, 7, 1), + new DateTime (this.Year, 10, 1), new DateTime (this.Year + 1, 1, 1) }; // 1) Actually, the accounts are already sorted. Or are supposed to be, anyway,