Skip to content

Commit

Permalink
Merge pull request #56 from AsrOneSdk/dev
Browse files Browse the repository at this point in the history
Corrected format string in framing ClientRequestId
  • Loading branch information
stankovski committed Dec 18, 2014
2 parents bd7e2b4 + 0a5ea1c commit 928c243
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public string GenerateAgentAuthenticationHeader(string clientRequestId)
/// <returns>Custom request headers</returns>
public CustomRequestHeaders GetRequestHeaders()
{
this.ClientRequestId = Guid.NewGuid().ToString() + "-" + DateTime.Now.ToString("yyyy-mm-dd HH:mm:ssZ") + "-P";
this.ClientRequestId = Guid.NewGuid().ToString() + "-" + DateTime.Now.ToUniversalTime().ToString("yyyy-MM-dd HH:mm:ssZ") + "-P";

return new CustomRequestHeaders()
{
Expand Down

0 comments on commit 928c243

Please sign in to comment.