<div dir="ltr"><div><div>Greetings,<br><br></div>It occurred to me that saving a vector layer containing DateTime fields to an ESRI Shapefile format transforms the DateTime field into a Date field, leading to the loss of the time data [1]. As far as I understand, this is not a regression, just something that got onto my radar in the last week or so.<br><br></div><div>I think what needs to happen here is for the DateTime field to be transformed into a String field, similarly to what Nyall has committed for Time field [2].<br><br></div><div>Does that sound like the right thing to do here? Thoughts from developers are most welcome :)<br></div><div><br></div><div>Math<br></div><div><br>[1] <a href="http://hub.qgis.org/issues/14190">http://hub.qgis.org/issues/14190</a><br>[2] <a href="https://github.com/qgis/QGIS/commit/7dc5eac8bd6eff7e7e1a5bded6361c779e0a58ff">https://github.com/qgis/QGIS/commit/7dc5eac8bd6eff7e7e1a5bded6361c779e0a58ff</a><br></div></div>