diff options
| author | Jake Mannens <jake@asger.xyz> | 2024-10-24 08:25:35 +1100 |
|---|---|---|
| committer | Jake Mannens <jake@asger.xyz> | 2024-11-01 16:23:35 +1100 |
| commit | 113f9282b0069ebf97240d3fc476dcc099542506 (patch) | |
| tree | b1f1ad07c9e8ca0ba6773f911c5f0912699783b4 | |
| parent | e6d573bb8ef5c7f87409272eb3a994a902c3db95 (diff) | |
Fetch current day
| -rw-r--r-- | BartService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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 = "<login token here>", PermissionLevel = 2, |
