benrr101 / dolomite

Backend WCF service for Dolomite
Other
2 stars 0 forks source link

Track Added times are not UTC #27

Open benrr101 opened 10 years ago

benrr101 commented 10 years ago

The date/times that the server handles should all be UTC. We don't know where the clients will be accessing from. The clients are assuming that the dates coming out are UTC and applying the local date/time transform to it, which is doing duplicate transforms for east coast, but completely screwing it up for anyone anywhere else.

On DolomiteBackgroundProcessing/TrackOnboarding.cs:348 change DateTime.New to DateTime.UTCNow. While you're at it, make sure we use UTC everywhere else.