Skip to content

Grid: null Date type rendering as 12/31/1969  #8603

@ZCeli

Description

@ZCeli

Description

A Date type field with null value renders as 12/31/1969.

  • igniteui-angular version: 10.1.7
  • browser: chrome

Steps to reproduce

  1. Open any of your sample with a date field
  2. Change the sample data date field to new Date(null)

Result

What is the actual result after following the steps to reproduce?
You get 12/31/1969

Expected result

What is the expected result after following the steps to reproduce?
It should be empty.

Attachments

Attach a sample if available, and screenshots, if applicable.

Note: no one would normally use new Date(null). I'm doing so here to mimic a Date type coming from server. I was able to fix it by parsing the date field coming from server in the service file. But I'm wondering if the grid is the one that should handle that kind of scenario.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions