[Qgis-user] format of timestamps

Matthias Kuhn matthias at opengis.ch
Tue May 21 23:51:59 PDT 2019


Hi Christoph,

On export you can also choose in the field export options to use the 
display string (Check "Replace with displayed value" for this field).

In the layer properties -> attributes form of your layer it's possible 
to define how QGIS will display and format your date, you might possibly 
want to tune something in there too.

I hope that helps

Matthias

On 5/22/19 8:45 AM, Christoph Jung wrote:
> Hello everyone,
>
> I am a bit confused about dates/timestamps in QGIS. I created a column 
> in PostGIS to store timestamps in iso8601 format. If I load the table 
> into QGIS and open the attribute table, the timestamp will be shown 
> like in pgAdmin:
>
>  Thats all fine. But when I export the table into GeoJSON (right click 
> on the layer - export), the format of the timestamp changes a bit:
> I know that iso8601 offers different writings of the timestamps and 
> both should follow iso8601. But nonetheless the characters are 
> differing. Is it a general „problem“, did anybody noticed it before?
>
> Sincerely,
> Christoph
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190522/4f39cbdd/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bildschirmfoto 2019-05-21 um 18.40.18.png
Type: image/png
Size: 10716 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190522/4f39cbdd/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bildschirmfoto 2019-05-21 um 18.40.37.png
Type: image/png
Size: 10902 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190522/4f39cbdd/attachment-0003.png>


More information about the Qgis-user mailing list