Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
More timezone mess
  • Loading branch information
nyalldawson committed May 14, 2020
1 parent 495f2ab commit 7cdfef9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/src/python/test_qgsserver_api.py
Expand Up @@ -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')
Expand Down
Expand Up @@ -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"
Expand Down

0 comments on commit 7cdfef9

Please sign in to comment.