From 742b9fa46d74762f58ae939afd980a532cc4636f Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Tue, 6 Oct 2020 14:13:14 +0300 Subject: Account for days elapsed based on latest date Instead of counting the number of days for the averge through the number of iterations, let it be the difference between the latest date on entry and the start of the period. Id est: * 'Missing' dates from the input are implicit. * The order of the days doesn't affect the output (although it doesn't make sense to put the days out of order). --- Cargo.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Cargo.lock') diff --git a/Cargo.lock b/Cargo.lock index 70f1fc3..1471663 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -82,7 +82,7 @@ dependencies = [ [[package]] name = "finbudg" -version = "0.1.0" +version = "0.1.2" dependencies = [ "budget", "chrono", -- cgit v1.2.3