1. lfoust
  2. stacky

Source

stacky / trunk / source / Stacky.Net35 / StackyClientAsync / AnswerMethods.cs

Diff from to

File trunk/source/Stacky.Net35/StackyClientAsync/AnswerMethods.cs

                 order = GetSortDirection(options.SortDirection),
                 min = options.Min ?? null,
                 max = options.Max ?? null,
-                fromdate = options.FromDate.HasValue ? (long?)options.FromDate.Value.ToUnixTime() : null,
-                todate = options.ToDate.HasValue ? (long?)options.ToDate.Value.ToUnixTime() : null
+                fromdate = GetDateValue(options.FromDate),
+                todate = GetDateValue(options.ToDate),
             }, (items) => onSuccess(new PagedList<Answer>(items)), onError);
         }
     }