Its an old problem. Even in VCL, a datefield that is null gets a date of 1899-12-30. Null is a valid value and should be displayed as blank.
In VCL, I had to override a few things to do this. Suggestions for where I should do this for XData???
I can think of some.
- Have a calculated field (type string) for display. I could put this in the DB or in the entities.
- Override some Get method in the TDataset
- Override some Get method in TDateField
- Override the DateTimePicker (or subclass it). Not sure how that interacts with HTML's input.