Skip to content

Commit

Permalink
Sending date in iso format
Browse files Browse the repository at this point in the history
  • Loading branch information
balukambala committed Nov 5, 2015
1 parent e4a314a commit 0b126a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ public void RegisterDscNode(string resourceGroupName,
templateParameters.Add("rebootNodeIfNeeded", rebootFlag);
templateParameters.Add("actionAfterReboot", actionAfterReboot);
templateParameters.Add("allowModuleOverwrite", moduleOverwriteFlag);
templateParameters.Add("timestamp", DateTimeOffset.UtcNow.ToString());
templateParameters.Add("timestamp", DateTimeOffset.UtcNow.ToString("o"));

// invoke the New-AzureRmResourceGroupDeployment cmdlet
using (Pipeline pipe = Runspace.DefaultRunspace.CreateNestedPipeline())
Expand Down

0 comments on commit 0b126a9

Please sign in to comment.