include last minute for day filter

This commit is contained in:
Daniel Schick 2024-06-27 16:47:09 +02:00
parent 57c0268b79
commit f9ea6b45fe

View File

@ -513,7 +513,7 @@ namespace BreCalClient
this.FilterShipcalls(); this.FilterShipcalls();
await uiLock.WaitAsync(); await uiLock.WaitAsync();
this.UpdateUI(); this.UpdateUI();
} }
} }
catch(Exception ex) catch(Exception ex)
@ -707,7 +707,7 @@ namespace BreCalClient
_ = this._visibleControlModels.RemoveAll(x => _ = this._visibleControlModels.RemoveAll(x =>
{ {
Times? t = x.GetTimesForParticipantType(ParticipantType.AGENCY); 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) switch (x.Shipcall?.Type)
{ {
case ShipcallType.Arrival: case ShipcallType.Arrival: