andreasgerstmayr / fava-dashboards

Custom Dashboards for Beancount in Fava
MIT License
178 stars 21 forks source link

use ledger start/end date if date filter is greater than ledger time frame #69

Closed andreasgerstmayr closed 5 months ago

andreasgerstmayr commented 5 months ago

Adjust the dates in case the date filter is set to e.g. 2023-2024, however the ledger only contains data up to summer 2024. Without this, all averages in the dashboard are off, because of a wrong number of days between dateFirst and dateLast.