Skip to content

Commit

Permalink
Merge pull request #2733 from nirvn/processing_memory_datetime
Browse files Browse the repository at this point in the history
[processing] add date, datetime, time fields to memory output
  • Loading branch information
alexbruy committed Feb 4, 2016
2 parents c35567b + 427b9c9 commit dbd83b3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/plugins/processing/tools/vector.py
Expand Up @@ -67,7 +67,10 @@
TYPE_MAP_MEMORY_LAYER = {
QVariant.String: "string",
QVariant.Double: "double",
QVariant.Int: "integer"
QVariant.Int: "integer",
QVariant.Date: "date",
QVariant.DateTime: "datetime",
QVariant.Time: "time"
}

TYPE_MAP_POSTGIS_LAYER = {
Expand Down

0 comments on commit dbd83b3

Please sign in to comment.