Kendo grid read request datetime filter issue: How to send dates in Utc or at least with timeoffset info? -


i think issue not asp mvc (kendo version) related, info using that, 2015.1.408.

when grid (hence datasource) has datetime filter set, , grid issues read request server serializes filter , serialized string part of request called parameter 'filter' along other parameters like, page, pagesize, sort, etc.

unfortunately filter text not json:

(levelint~gte~-2147483648~and~datetime~gte~datetime'2015-06-19t00-00-00'~and~datetime~lte~datetime'2015-06-19t23-59-59') 

the problem datetimes exactly values user entered @ client in timezone, without timezone information.

consequently not possible know really... , unable filter if data in db stored in utc.

to express more clearly: serializing explicit information loss. either datetime should utc or timezone should provided along date somehow. (imagine db filled events log, date in utc, many reasons. must have query dates in utc, or know timezone correctly convert utc)

* edit: *

steps reproduce:

  1. launch fiddler
  2. goto demo: simple kendo data grid date filtering
  3. use order date columns filter. not waste time pick dates have more 0 result, pick date.
  4. switch fiddler , find datasource datarequest requst. see picture below:

enter image description here

now must find workaround. ideas?


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -