Ticket #2474 (closed defect: fixed)
DateTime -> Date write support in Shapefile support
|Reported by:||candrsn||Owned by:||mloskot|
Shapefile write support for DateTime? is hinted to in this notice
"Field %s create as date field, though DateTime? requested.\n",
but the value written is always null.
This patch causes the conversion to take place.
--- ogr/ogrsf_frmts/shape/shape2ogr.cpp 2008-02-10 05:59:48.000000000 -0500 +++ ogr/ogrsf_frmts/shape/shape2ogr.cpp 2008-07-14 19:20:56.000000000 -0400 @@ -1242,6 +1242,7 @@
+ case OFTDateTime:
OGRField sFld; int nFullDate =