Skip to content

Commit b86a5e1

Browse files
committed
Remove TargetDateIncludeTime checks
Now client should send correct time of push notification
1 parent 9595a6f commit b86a5e1

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

src/SimpleToDoService/Common/Common.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,7 @@ static class Extensions
2727
{
2828
if (!task.TargetDate.HasValue)
2929
return null;
30-
31-
var notificationDate = task.TargetDate.Value.ToUniversalTime();
32-
33-
if (!task.TargetDateIncludeTime)
34-
return new DateTime(notificationDate.Year, notificationDate.Month, notificationDate.Day, 0, 0, 0, notificationDate.Kind);
35-
30+
3631
return task.TargetDate;
3732
}
3833
}

0 commit comments

Comments
 (0)