Closed nhirschey closed 11 months ago
@DavideGCosta do you have any interest in fixing this?
The API thinks it is in St. Louis and it won’t accept start or end dates after the current St. Louis date. So default start and ends of DateTime.Now can fail if you’re not in the St. Louis time zone (As is happening to me now).
@nhirschey yes! Will take a look and lyk
Great! I think .net 6 added some support that will be useful to set the default time to "DateTime.Now" except in St Louis timezone (I think timezone will be something like "US/Chicago"). https://devblogs.microsoft.com/dotnet/date-time-and-time-zone-enhancements-in-net-6/#time-zone-conversion-apis
BTW, no rush.
Will be out in NY till next Tuesday! Will have a look after that
If the user date is after St Louis date (b/c in europe after midnight) then the request fails.
Need to change some of the defaults that are using
DateTime.Now
. Perhaps just set to max real-time date of9999-12-31
.