This is a migrated thread and some comments may be shown as answers.

kendo.toString Date always changes to browser timezone

1 Answer 113 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tony
Top achievements
Rank 1
Tony asked on 02 Jul 2015, 10:01 PM

Just like the javacript toString()

kendo.toString(myDate, 'hh:mm');

it will format my date that I pass in to the local time zone, so it will subtract 7 hours. 

Is the only option to use a parser like momentjs?  

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 06 Jul 2015, 08:18 AM

Hello George,

 

It uses the JavaScript date object implementation in the background, and does not provide support for removing the conversation to browser's timezone.

 

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
General Discussions
Asked by
Tony
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or