Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
410
igGrid with Date column
posted

Hi,

I have two date column in the grid one has date + time(2012-05-11 10:54:00) and the other one only have the date with no time (2012-05-11 00:00:00).  I'm setting the datatype of the column to date. The issue is that the column with no time gets display with one day less, 05/10/2012 instead of 05/11/2012. It looks like the grid is substracting a day from the column that has no time.

Thanks

Parents
  • 24671
    posted

    hi,

    which version are you using ? Also how do you pass the data source ? do you bind the grid locally, or use the MVC Wrapper. Just FYI, recently we have fixed one issue which is related to date/time shifting (particularly when using the MVC Wrapper, due to the bug in the Microsoft JSON serialization for dates), so this may be the case. In that case you can find the fix in the upcoming SR.

    hope it helps. Thanks

    Angel

Reply Children