Skip to content

Expense template next date can result in failure #614

@maraf

Description

@maraf
2026-02-07T19:59:01.9121412Z       System.ArgumentOutOfRangeException: Year, Month, and Day parameters describe an un-representable DateTime.
2026-02-07T19:59:01.912144Z          at System.DateTime..ctor(Int32 year, Int32 month, Int32 day)
2026-02-07T19:59:01.9121469Z          at Money.Models.Builders.OutcomeBuilder.HandleAsync(ListMonthExpenseChecklist query)
2026-02-07T19:59:01.9121503Z          at Money.Models.Builders.OutcomeBuilder.HandleAsync(GetMonthExpectedExpenseTotal query)
2026-02-07T19:59:01.9121536Z          at Money.Models.Builders.OutcomeBuilder.HandleAsync(ListMonthBalance query)
2026-02-07T19:59:01.9121692Z          at Money.Domain.Controllers.QueryController.PostAsync(String url, JObject rawQuery)
2026-02-07T19:59:01.9121724Z          at lambda_method25(Closure, Object)
...

Set DayInPeriod to 30 or 31 for a month that is not that long (February or any 30day long month)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions