Fixes #17246: Date custom fields can't store dates pre-1970.