Description of changes:
Replace all uses of DateTime.Now with DateTime.UtcNow.
The CognitoUser.cs class had incorrect line endings which is why it is showing a full file change. I committed it this way to get the file fixed up for going forward. There was one actual file change on line 483 to change to UtcNow.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Issue #, if available: https://github.com/aws/aws-sdk-net-extensions-cognito/issues/69#issuecomment-819463129
Description of changes: Replace all uses of
DateTime.Now
withDateTime.UtcNow
.The CognitoUser.cs class had incorrect line endings which is why it is showing a full file change. I committed it this way to get the file fixed up for going forward. There was one actual file change on line 483 to change to UtcNow.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.