From 113f9282b0069ebf97240d3fc476dcc099542506 Mon Sep 17 00:00:00 2001 From: Jake Mannens Date: Thu, 24 Oct 2024 08:25:35 +1100 Subject: Fetch current day --- BartService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'BartService.cs') diff --git a/BartService.cs b/BartService.cs index e3bfac1..89088e4 100644 --- a/BartService.cs +++ b/BartService.cs @@ -98,7 +98,7 @@ namespace PagerParser.Bart { // Prepare API request var request = new BartAvailabilityRequest() { - RelatedDay = "2024-10-22", + RelatedDay = DateTime.Now.ToString("yyyy-MM-dd"), // TODO: retrieve this from config LoginToken = "", PermissionLevel = 2, -- cgit v1.3