Wijmo grid displays improper Date

488 views Asked by At

I am trying to use wijmo controls for my application with integration of knockoutjs and hottowel spa template. It works fine. but it displays wrong dates that should not be occur like "2013-42-18 11:42 PM". i am providing the datatype like " dataType: 'datetime', dataFormatString: 'yyyy-mm-dd hh:mm tt'".

Thanx

Prince Chopra

1

There are 1 answers

1
AbdiasM On

Please change the dataFormatString to "yyyy-MM-dd hh:mm tt". 'mm' is used to denote minutes, whereas 'MM' is used to denote months.