Unplanned
Last Updated: 28 Apr 2020 07:28 by ADMIN
SAM
Created on: 02 Oct 2019 11:22
Category: Data Source
Type: Feature Request
5
Convert grid filter date field to UTC

When the grid is configured for working with UTC on the server-side, the value sent from the filter menu on the client-side would not be properly sent to the server. 

If the stringifyDates option of the transport of the data source is set, the value would still be sent in a localized date format without information for the time zone, for instance, GMT(+0300).

In case the value sent from the client is modified, the parameterMap would be called afterward and would override the modified value. 

Moreover, the Kendo UI Binder on the server-side is not configured to be working with dates that have additional data for the time zone appended to the end. Therefore, sending the modified data would not be parsed correctly and FormatException error would be thrown.

2 comments
ADMIN
Alex Hajigeorgieva
Posted on: 28 Apr 2020 07:28

Hi,

We have a very popular item for DateTimeOffset binding which will requires us to implement changes both on the client picker binders and  also in the server-side extensions.

As we are gathering more information for it, could you take a look at that thread and add your take on it so it can be considered before implementation begins:

https://feedback.telerik.com/kendo-jquery-ui/1358428-support-binding-of-datetimepicker-to-type-datetimeoffset

Kind Regards,
Alex Hajigeorgieva
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Leo
Posted on: 21 Apr 2020 13:32
Really need proper datetime data exchange between client and server. With the current implementation neither side knows the others timezone. The so called workarounds lead to cluttered code, introducing bugs and still keep some problems unsolved.