From 9a6b05f93d3aaf129f874841d0915078c5e728a9 Mon Sep 17 00:00:00 2001 From: Christoph Marzell Date: Wed, 15 Jul 2026 05:40:42 +0200 Subject: [PATCH] fix display --- app/controllers/entries_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/entries_controller.rb b/app/controllers/entries_controller.rb index f5c3fea..de31e06 100644 --- a/app/controllers/entries_controller.rb +++ b/app/controllers/entries_controller.rb @@ -95,7 +95,7 @@ class EntriesController < ApplicationController .maximum(:date) #start_date = [last_entry_date, Date.today].compact.max - start_date = Date.today + start_date = Date.current if weekly_hours > 0 && hours_remaining > 0 weeks_remaining = (hours_remaining / weekly_hours).ceil @estimated_end_by_typ_art[typ][art] = start_date + weeks_remaining.weeks