We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebb637b commit b0a607fCopy full SHA for b0a607f
components/core/src/clp/aws/AwsAuthenticationSigner.cpp
@@ -91,7 +91,8 @@ auto is_unreserved_characters(char c) -> bool {
91
92
auto get_formatted_timestamp_string(std::chrono::system_clock::time_point const& timestamp)
93
-> string {
94
- return fmt::format("{:%Y%m%dT%H%M%SZ}", timestamp);
+ auto const timestamp_secs = std::chrono::time_point_cast<std::chrono::seconds>(timestamp);
95
+ return fmt::format("{:%Y%m%dT%H%M%SZ}", timestamp_secs);
96
}
97
98
auto get_formatted_date_string(std::chrono::system_clock::time_point const& timestamp) -> string {
0 commit comments