Skip to content

Commit 427b9c9

Browse files
committed
[processing] add date, datetime, time fields to memory output
(fixes #14163)
1 parent 2f411af commit 427b9c9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

python/plugins/processing/tools/vector.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,10 @@
6767
TYPE_MAP_MEMORY_LAYER = {
6868
QVariant.String: "string",
6969
QVariant.Double: "double",
70-
QVariant.Int: "integer"
70+
QVariant.Int: "integer",
71+
QVariant.Date: "date",
72+
QVariant.DateTime: "datetime",
73+
QVariant.Time: "time"
7174
}
7275

7376
TYPE_MAP_POSTGIS_LAYER = {

0 commit comments

Comments
 (0)