Source

stacky / trunk / source / Stacky.Net35 / StackyClient / BadgeMethods.cs

Diff from to

trunk/source/Stacky.Net35/StackyClient/BadgeMethods.cs

                 site = this.SiteUrlName,
                 page = options.Page ?? null,
                 pagesize = options.PageSize ?? 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),
             });
             return new PagedList<User>(response);
         }