Opened 8 years ago

Closed 5 years ago

#6524 closed enhancement (wontfix)

Add OGR_DATETIME_FORMAT option

Reported by: Ari Jolma Owned by: warmerdam
Priority: normal Milestone: closed_because_of_github_migration
Component: default Version: unspecified
Severity: normal Keywords:
Cc:

Description

Currently OGRFeatureFormatDateTimeBuffer() function converts datetime field to a string using a fixed format of YYYY/MM/DD HH:MM::SS.MMM. (.MMM is used only if decimal portion of seconds is not zero).

The function strftime is a standard function, which could be used with a format option string to have a better control over how datetimes are converted.

Change History (3)

comment:1 by Even Rouault, 6 years ago

Milestone: 2.2.02.3.0

Postponing to later milestone

comment:2 by Even Rouault, 6 years ago

Milestone: 2.3.0

Ticket retargeted after milestone closed

comment:3 by Even Rouault, 5 years ago

Milestone: closed_because_of_github_migration
Resolution: wontfix
Status: newclosed

This ticket has been automatically closed because Trac is no longer used for GDAL bug tracking, since the project has migrated to GitHub. If you believe this ticket is still valid, you may file it to https://github.com/OSGeo/gdal/issues if it is not already reported there.

Note: See TracTickets for help on using tickets.