Skip to content

Commit

Permalink
Output ISO date string as UTC
Browse files Browse the repository at this point in the history
  • Loading branch information
fireflycons committed Jan 12, 2020
1 parent 653c1fd commit 6ce0497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws-toolbox/Public/IAM/Get-ATIAMSessionCredentials.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ function Get-ATIAMSessionCredentials
AccessKeyId = $cred.AccessKey
SecretAccessKey = $cred.SecretKey
SessionToken = $cred.Token
Expiration = $cred.Expires.ToString('s').SubString(0, 19)
Expiration = $cred.Expires.ToString('s').SubString(0, 19) + "Z"
} |
ConvertTo-Json
}
Expand Down

0 comments on commit 6ce0497

Please sign in to comment.