linvi / tweetinvi

Tweetinvi, an intuitive Twitter C# library for the REST and Stream API. It supports .NET, .NETCore, UAP (Xamarin)...
MIT License
1.01k stars 220 forks source link

SearchTweetsV2Parameters: start_time date format is incorrect. It should return 24h format, it uses AM/PM instead #1221

Closed PeterTheDev14 closed 11 months ago

PeterTheDev14 commented 11 months ago

https://github.com/linvi/tweetinvi/blob/c2dd628e998698d3555301df4b15e9f68f9f73e8/src/Tweetinvi.Controllers/Search/SearchV2QueryGenerator.cs#L30

The date format string should use HH instead of hh. HH produces a 12-hour format, which causes requests to be rejected by X in certain times of the day.

PeterTheDev14 commented 11 months ago

Same as #1155