Skip to content

Commit

Permalink
Merge pull request #65 from Lombiq/issue/OSOE-683
Browse files Browse the repository at this point in the history
OSOE-683: Removing analyzer warnings.
  • Loading branch information
sarahelsaig authored Sep 23, 2023
2 parents e45237c + 6fe45dc commit b1f905f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lombiq.ChartJs.Samples/Controllers/SampleController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ await FindDateFieldIndexesByTagsFilterAsync(incomeTag, incomeTagsFilter, expense
Date = dateIndex.Date!.Value,
Amount = numericIndex.Numeric ?? 0,
})
.GroupBy(transaction => new DateTime(transaction.Date.Year, transaction.Date.Month, 1))
.GroupBy(transaction => new DateTime(transaction.Date.Year, transaction.Date.Month, 1, 0, 0, 0, DateTimeKind.Utc))
.OrderBy(monthly => monthly.Key)
.Select(monthly =>
new MonthlyTransaction
Expand Down

0 comments on commit b1f905f

Please sign in to comment.