OGR OFTDateTime needs more precision
|Reported by:||Daniel Morissette||Owned by:||warmerdam|
|Cc:||Even Rouault, aboudreault|
While working on ticket #2585, we have discovered that OGR's OFTDateTime carries only seconds but not milliseconds. This means that if we switch MITAB to use OFTDateTime instead of the current implementation that carries time as strings internally then we'll lose the milliseconds and users of MITAB outside of the OGR environment will complain.
In an exchange on IRC, Even also mentioned that GPX for example uses XML datetime that supports fractionnal seconds, so we could benefit from more precision in OFTDateTime there too.
It's too late for the 1.6 release, but we should consider adding fractional seconds to OFTDateTime, or perhaps just store the seconds value as a float instead of a GByte?