DateTime is also a native type for postgres provider

This commit is contained in:
Nyall Dawson 2016-01-27 11:36:16 +11:00
parent a665b7d72e
commit 0356752c64

View File

@ -179,6 +179,7 @@ QgsPostgresProvider::QgsPostgresProvider( QString const & uri )
// date type
<< QgsVectorDataProvider::NativeType( tr( "Date" ), "date", QVariant::Date, -1, -1, -1, -1 )
<< QgsVectorDataProvider::NativeType( tr( "Date & Time" ), "timestamp without time zone", QVariant::DateTime, -1, -1, -1, -1 )
;
QString key;