This repository has been archived by the owner on Jul 15, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use DateTimeStyles.AdjustToUniversal.
Using DateTimeStyles.AdjustToUniversal instead of DateTimeStyles.None returns a correct but converted-to-Local time (not Unspecified) if a Utc time was saved (which would have caused a Z to be appended). (Behavior if a Local or Unspecified time was saved is not changed by DateTimeStyles.AdjustToUniversal, i.e. it still returns Unspecified in both cases.)
- Loading branch information