Skip to content

Commit

Permalink
DateTime is also a native type for postgres provider
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 27, 2016
1 parent a665b7d commit 0356752
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/providers/postgres/qgspostgresprovider.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 0356752

Please sign in to comment.