Open
Description
Description
Currently I am developing on German locale VS against a US locale Postgres database.
When querying for date values locally I can see that the dates in queries are translated with German locale which fails against the US postgres server. It would be nice if the locale for formatting dates and potentially other culture sensitive parameters could be set at startup with potentially using CultureInfo.Invariant as default
Repro steps
Use DB server and app machine with different locale.
Perform a query with a date field as parameter.
Expected behavior
Query works.
Actual behavior
Query fails.
Known workarounds
Use same locale on FSharp and DB machine.
Related information
- Postgresql
- Windows 10
- .NET Runtime