Opened 16 years ago

Closed 16 years ago

#2485 closed defect (wontfix)

Time is stripped off Date/time fields in Shape file

Reported by: bclay Owned by: Mateusz Łoskot
Priority: normal Milestone:
Component: default Version: unspecified
Severity: normal Keywords: Date, Time, shapefile
Cc:

Description

When a dataset is exported to a shapefile that contains a Date/Time combination field the Time is stripped off. This change lets the user split the Date/Time field into separate fields so the time is not lost.

Attachments (2)

ogrshapelayer.cpp (38.6 KB ) - added by bclay 16 years ago.
shape2ogr.cpp (50.2 KB ) - added by bclay 16 years ago.

Download all attachments as: .zip

Change History (5)

by bclay, 16 years ago

Attachment: ogrshapelayer.cpp added

by bclay, 16 years ago

Attachment: shape2ogr.cpp added

comment:1 by Mateusz Łoskot, 16 years ago

Owner: changed from warmerdam to Mateusz Łoskot
Status: newassigned

comment:2 by Mateusz Łoskot, 16 years ago

Bruce,

I'd appreciate if you could generate regular patch instead of just sending changed source files. The issue is that we do not know what GDAL version these files come from. But this information is very important if we want to apply your changes.

Are you applying your changes to GDAL release or SVN copy? If the former, please tell us what release you are using. If the latter, you can generate regular patch this way (run in console, terminal or DOS window):

cd /your/path/to/trunk/gdal
svn diff > my-changes.patch

Now, my-changes.patch file includes all your changes and is ready to attach to a ticket. Feel free to contact me if you have any problems.

comment:3 by Mateusz Łoskot, 16 years ago

Resolution: wontfix
Status: assignedclosed

I'm sorry but having no usable patch neither information about from what GDAL versions these updated files come from, I'm closing this ticket.

Bruce, please reopen it if you would want to attach new files.

Note: See TracTickets for help on using tickets.