mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
world_map.gpkg: little fix to avoid warning with recent GDAL versions
Recent GDAL versions emit in the console a non critical warning when opening world_map.gpkg at QGIS startup: "Warning 1: Non-conformant content for record 1 in column update_time, 2019-08-15T21:28:22Z, successfully parsed" The reason is that values in the update_time column in the layer_styles column lack milliseconds information. ``` $ sqlite3 ../resources/data/world_map.gpkg "select update_time from layer_styles" 2019-08-15T21:28:22Z 2019-08-15T21:29:54Z 2019-08-15T21:30:31Z 2019-08-22T08:16:25Z ``` Fixed with: ``` $ sqlite3 ../resources/data/world_map.gpkg "update layer_styles set update_time = substr(update_time,0,length(update_time)) || '.000Z'" $ sqlite3 ../resources/data/world_map.gpkg "select update_time from layer_styles" 2019-08-15T21:28:22.000Z 2019-08-15T21:29:54.000Z 2019-08-15T21:30:31.000Z 2019-08-22T08:16:25.000Z ```
This commit is contained in:
parent
dba95821f2
commit
939da08506
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user