ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

This topic contains 2 replies, has 2 voices, and was last updated by  SkaiBoa 3 years, 4 months ago.

  • Creator
    Topic
  • #899

    SkaiBoa
    Participant

    Hello,

    when I use Date or Datetime in a Datagrid i got a problem with this value in the database: ‘0000-00-00 00:00:00’ or ‘0000-00-00′. It shows in the grid as ’11/30/0001’. A way is to take a Decorator and delete this date and render out a empty cell, but that cannot be the real solution.

    Is there any other solution that ‘0000-00-00’ in the database render as a empty string ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #912
    ishakuta
    ishakuta
    Participant

    You shouldn’t have such value in db for date, instead use NULL if possible.
    Fixed in master, check after release.

    #913

    SkaiBoa
    Participant

    Thank you very much. That helps.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.