Skip to content
Permalink
Browse files

More timezone mess

  • Loading branch information
nyalldawson committed May 14, 2020
1 parent 495f2ab commit 7cdfef920a65235689091b8f2787f79c63dbfbfb
@@ -130,7 +130,7 @@ def test_temporal_extent(self):
layer.serverProperties().removeWmsDimension('time')
self.assertTrue(layer.serverProperties().addWmsDimension(
QgsVectorLayerServerProperties.WmsDimensionInfo('time', 'updated')))
self.assertEqual(QgsServerApiUtils.temporalExtent(layer), [['2010-01-01T01:01:01Z', '2022-01-01T01:01:01Z']])
self.assertEqual(QgsServerApiUtils.temporalExtent(layer), [['2010-01-01T01:01:01', '2022-01-01T01:01:01']])

layer.serverProperties().removeWmsDimension('date')
layer.serverProperties().removeWmsDimension('time')
@@ -22,7 +22,7 @@ Content-Type: application/json
"interval": [
[
"2010-01-01T00:00:00",
"2022-01-01T01:01:01Z"
"2022-01-01T01:01:01"
]
],
"trs": "http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"

0 comments on commit 7cdfef9

Please sign in to comment.
You can’t perform that action at this time.