Skip to content

Commit

Permalink
Fixes Redth#209
Browse files Browse the repository at this point in the history
  • Loading branch information
Redth committed Jun 17, 2013
1 parent 8b196d7 commit 88b5225
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PushSharp.Apple/FeedbackService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ public void Run(ApplePushChannelSettings settings, CancellationToken cancelToken

int tSeconds = BitConverter.ToInt32(bSeconds, 0);

//Add seconds since 1970 to that date, in UTC and then get it locally
var timestamp = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc).AddSeconds(tSeconds).ToLocalTime();
//Add seconds since 1970 to that date, in UTC
var timestamp = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc).AddSeconds(tSeconds);

//flag to allow feedback times in UTC or local, but default is local
if (!settings.FeedbackTimeIsUTC)
Expand Down

0 comments on commit 88b5225

Please sign in to comment.