Opened 13 years ago

Last modified 13 years ago

#3569 new patch

OGR DateTime fields support

Reported by: jekhor Owned by: jef
Priority: minor: annoyance Milestone: Version 1.7.0
Component: Data Provider Version: Trunk
Keywords: ogr date time Cc:
Must Fix for Release: No Platform: Debian
Platform Version: Awaiting user input: no

Description

Now QGis doesn't support DateTime fields in OGR datasources and converts them to strings. There is patch which fixing this attached.

Attachments (1)

3569_ogr_datetime_fix.patch (1.7 KB ) - added by jekhor 13 years ago.

Download all attachments as: .zip

Change History (5)

by jekhor, 13 years ago

Attachment: 3569_ogr_datetime_fix.patch added

comment:1 by mhugent, 13 years ago

Owner: changed from nobody to jef

comment:2 by wonder, 13 years ago

I haven't tried the patch but I would expect that more changes should be done for proper support. IIRC there are various pieces of code in the source tree which only expect int, double or string to be contained in QVariant as an attribute value.

in reply to:  description ; comment:3 by jef, 13 years ago

Replying to jekhor:

Now QGis doesn't support DateTime fields in OGR datasources and converts them to strings. There is patch which fixing this attached.

Which data source are you actually using? Shapefiles at least don't support OGRDateTime at least...

in reply to:  3 comment:4 by jekhor, 13 years ago

Replying to jef:

Replying to jekhor:

Now QGis doesn't support DateTime fields in OGR datasources and converts them to strings. There is patch which fixing this attached.

Which data source are you actually using? Shapefiles at least don't support OGRDateTime at least...

GPX.

Note: See TracTickets for help on using tickets.