Fix for updating entities on PostgresSQL with DateTimeOffsets and mixed cultures.

Included a regresssion test case