andreasgerstmayr / fava-dashboards

Custom Dashboards for Beancount in Fava
MIT License
143 stars 17 forks source link

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

Closed andreasgerstmayr closed 4 days ago

andreasgerstmayr commented 4 days 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.