Current filter:
                                You should refresh the page.
                                  • Hello,

                                    I'm experiencing different behaviour when rendering datetimes in Devextreme form. The form model has two datetime fields. One is type of DateTime and the other is type of Nullable<DateTime> aka DateTime?. Both of them are served with 'Kind' property set to Utc.

                                    The rendered JSON form data look like this:

                                    "RegisteredAt":new Date(2019, 1, 12, 14, 53, 59, 360),"ExpiresAt":"2019-02-12T14:54:59.36Z",

                                    The 'RegisteredAt' field is type of DateTime and is rendered as new Date(....). The problem with this one is that it is not transformed to client's time zone.

                                    The 'ExpiresAt' field is type of DateTime? and is rendered as UTC ISO string. This one is correctly transformed to client's time zone.

                                    So the Nullable<DateTime> behaves correctly from my point of view. The non nullable one produces unexpected result.

                                • Nikolai (DevExpress Support) 02.13.2019

                                  Hi,

                                  Thank you for bringing this to our attention. We've reproduced the issue and need additional time to research it. We will update the ticket when we have any news.

                                • Customer37498 06.28.2019

                                  Hi,

                                  the behavior of DateTime and DateTime? is now the same but both of them don't render the time in the client's time zone, which I would say is wrong. Could you please take a look at it?

                                • Ilya (DevExpress Support) 07.01.2019

                                  Hello,
                                  I've created a separate ticket on your behalf (T754267: Form - Date editors display time values without a time zone). It has been placed in our processing queue and will be answered shortly.

                                1 Solution

                                Creation Date Importance Sort by
                                • Customer37498 02.19.2019

                                  Will 18.2.7 be available as nuget package?

                                • Maxim (DevExpress Support) 02.19.2019

                                  As soon as we realize the next minor version (18.2.7), it will be available as a nuget package as well and changes will be included there. Right now, you can use a hotfix that will be published in this thread.