TableRow_GenerateInsert: Convert DateTimes in ISO format.

This commit is contained in:
2021-11-17 08:56:37 +01:00
parent f4da53e38c
commit 0e5904e532

View File

@@ -89,7 +89,7 @@ namespace VAR.DatabaseExplorer.Code
else if (type == "datetime") else if (type == "datetime")
{ {
// DateTime // DateTime
sbValues.AppendFormat("'{0}'", ((DateTime)valor).ToString("yyyy-MM-dd HH:mm:ss")); sbValues.AppendFormat("'{0}'", ((DateTime)valor).ToString("yyyy-MM-ddTHH:mm:ss.fff"));
} }
else else
{ {