X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eedb15434a5f0350f4e1a11faaab3391b900cb5b..8e7dda219e5c048104b18ea3f4254a683e3e4aa8:/src/common/db.cpp diff --git a/src/common/db.cpp b/src/common/db.cpp index 963f6e3497..71f0176226 100644 --- a/src/common/db.cpp +++ b/src/common/db.cpp @@ -257,7 +257,7 @@ int wxDbColFor::Format(int Nation,int dbDataType,SWORD sqlDataType,short columnS { if ((i_sqlDataType == SQL_VARCHAR) || (i_sqlDataType == SQL_LONGVARCHAR)) i_dbDataType = DB_DATA_TYPE_VARCHAR; - if (i_sqlDataType == SQL_C_DATE) + if ((i_sqlDataType == SQL_C_DATE) || (i_sqlDataType == SQL_C_TIMESTAMP)) i_dbDataType = DB_DATA_TYPE_DATE; if (i_sqlDataType == SQL_C_BIT) i_dbDataType = DB_DATA_TYPE_INTEGER;