Closed janireu closed 3 years ago
Ahh thank you for the fix! I'll test things out on my end and publish a new package if it all checks out.
@janireu published here - https://www.nuget.org/packages/Elasticsearch.Net.Aws/7.0.6
Thanks a lot for the speedy review and publishing 👍
…tput.
For example, in Thailand they are 543 years ahead, when formatting a date using
date.ToString("yyyyMMdd")
, it will produce25640129
. The library needs to format using the invariant culture to avoid issues with different calendars falling out of sync with AWS.The test is not great but I've included it so the issue is easy to reproduce. To make it more elegant I would need to extract
DateTime.UtcNow
fromSignV4Util.cs
which it's quite a bigger change.