Fix WriteTest DateTime assertion for different platform formats

There is a test in `WriteTests` that asserts for a DateTime string which is not aware of the specific platform format and thus fails when the driver does not return the DateTime format `Y-m-d`.