[FEATURE] Improve support of datetime fields

Follow-up: #50822
Releases: 0.2.0
Change-Id: I2cdbf6e5c834455e343f2d83cfe62740f7c44e92