From f9ea6b45fe36b4bcd1f2435cdc317153c24fbd63 Mon Sep 17 00:00:00 2001 From: Daniel Schick Date: Thu, 27 Jun 2024 16:47:09 +0200 Subject: [PATCH] include last minute for day filter --- src/BreCalClient/MainWindow.xaml.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BreCalClient/MainWindow.xaml.cs b/src/BreCalClient/MainWindow.xaml.cs index 8c79de2..c564a67 100644 --- a/src/BreCalClient/MainWindow.xaml.cs +++ b/src/BreCalClient/MainWindow.xaml.cs @@ -513,7 +513,7 @@ namespace BreCalClient this.FilterShipcalls(); await uiLock.WaitAsync(); - this.UpdateUI(); + this.UpdateUI(); } } catch(Exception ex) @@ -707,7 +707,7 @@ namespace BreCalClient _ = this._visibleControlModels.RemoveAll(x => { Times? t = x.GetTimesForParticipantType(ParticipantType.AGENCY); - DateTime refValue = sfm.EtaTo.Value.AddMinutes(1439); // 23:59 + DateTime refValue = sfm.EtaTo.Value.AddMinutes(1440); // including 23:59 switch (x.Shipcall?.Type) { case ShipcallType.Arrival: