aws / aws-sdk-net-extensions-cognito

An extension library to assist in the Amazon Cognito User Pools authentication process
Apache License 2.0
102 stars 49 forks source link

Switch all calls from DateTime.Now to DateTime.UtcNow #71

Closed normj closed 3 years ago

normj commented 3 years ago

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 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.