From 03c723a64b062a3e3ae0aab9e63f9319ae1c1804 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Mon, 30 Nov 2026 10:01:37 +0100 Subject: [PATCH] WinUI: Mittag.Aus nimmt JsonNode (origin-Stand kompilierte unter Windows nicht: CS1503/CS8121) Co-Authored-By: Claude Opus 5.5 --- winui/Kern/Plan.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winui/Kern/Plan.cs b/winui/Kern/Plan.cs index d9c9e4dd..238a178b 100644 --- a/winui/Kern/Plan.cs +++ b/winui/Kern/Plan.cs @@ -83,7 +83,7 @@ public sealed record Zeitplan /// Mittagsband mit Pause: von–bis Uhrzeit, Laenge gewuerfelt (betrieb/zeitplan.py). public sealed record Mittag(string Von, string Bis, Spanne Dauer) { - public static Mittag? Aus(JsonValue? v) + public static Mittag? Aus(JsonNode? v) { if (v is not JsonObject o) return null; if (Json.TextVon(o["von"]) is not { Length: 5 } a) return null;