diff --git a/bahnplan.web/Pages/Index.cshtml b/bahnplan.web/Pages/Index.cshtml index 8dd2fad..f35a3ff 100644 --- a/bahnplan.web/Pages/Index.cshtml +++ b/bahnplan.web/Pages/Index.cshtml @@ -54,7 +54,7 @@ @legs.Last().ArrStation.Delimit(30)
- @DateTime.Parse(legs.Last().DepTime).ToString("ddd dd.MM.yyyy, HH:mm") + @DateTime.Parse(legs.Last().ArrTime).ToString("ddd dd.MM.yyyy, HH:mm") @Html.Raw(legs.Where(leg => !string.IsNullOrWhiteSpace(leg.Comment)).Select(p => p.Comment.Replace(", ", "
")).DefaultIfEmpty("").Aggregate((s1, s2) => $"{s1}
{s2}"))