Bug report #3544
Save Selection as Shapefile changes database field info
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Debian||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||13604|
Using QGIS 1.4 on Debian GNU/Linux, "Save Selection as Shapefile" resulted in Date fields being re-written as Text fields in the resulting Shapefile.
#2 Updated by pastephe - almost 12 years ago
The source is a municipal database, I believe. This document indicates dBase has supported the Date format at least since its writing in 2001: http://www.dbase.com/knowledgebase/int/dateobject/dateobject.htm
In addition, performing the same routine with ArcMap leaves the Date field intact.
#7 Updated by Médéric RIBREUX about 7 years ago
- Pull Request or Patch supplied set to No
- Status changed from Open to Closed
- Assignee deleted (
- % Done changed from 0 to 100
- Resolution set to fixed/implemented
Hello, bug triage...
in QGIS 2.13 master, exporting a layer with Date attribute in Shapefile preserves the Date attribute (tests done from a memory layer to a shapefile). QGis converts it to a QDate if date formatting is correct.
I am closing this bug.