Feature request #3569

OGR DateTime fields support

Added by jekhor - about 6 years ago. Updated almost 4 years ago.

Status:Closed Start Date:
Priority:Low Due date:
Assigned to:Jürgen Fischer % Done:

0%

Category:Data Provider
Target version:Future Release - Nice to have
Platform: Resolution:fixed
Platform version: Pull Request or Patch supplied:No
Status info: Tag:

Description

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

3569_ogr_datetime_fix.patch (1.7 kB) jekhor -, 03/08/2011 07:35 am


Related issues

related to QGIS Application - Bug report #7503: save as can't export if datasource has field with date ty... Closed 04/04/2013

History

Updated by Martin Dobias about 6 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.

Updated by Jürgen Fischer about 6 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...

Updated by jekhor - about 6 years ago

Replying to [comment:3 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.

Updated by Giovanni Manghi over 5 years ago

  • Target version changed from Version 1.7.0 to Version 1.7.4

Updated by Giovanni Manghi about 5 years ago

  • Target version changed from Version 1.7.4 to Version 2.0.0

Updated by Pirmin Kalberer over 4 years ago

  • Target version changed from Version 2.0.0 to Future Release - Nice to have

Updated by Jürgen Fischer almost 4 years ago

  • Status changed from Open to Closed
  • Platform deleted (Debian)
  • Status info deleted (0)
  • Resolution set to fixed
  • Pull Request or Patch supplied set to No

implemented in 052dab81

Also available in: Atom