mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-07 00:15:48 -04:00
fix(WMSGetMap): fix Qt.ISODate on qt6
This commit is contained in:
parent
ce83f3e91d
commit
0b11ef7e66
@ -3061,22 +3061,22 @@ class TestQgsServerWMSGetMap(QgsServerTestBase):
|
|||||||
|
|
||||||
rl1.temporalProperties().setFixedTemporalRange(
|
rl1.temporalProperties().setFixedTemporalRange(
|
||||||
QgsDateTimeRange(
|
QgsDateTimeRange(
|
||||||
QDateTime.fromString("2025-01-12T12:34:56", Qt.ISODate),
|
QDateTime.fromString("2025-01-12T12:34:56", Qt.DateFormat.ISODate),
|
||||||
QDateTime.fromString("2025-01-15T09:12:34", Qt.ISODate),
|
QDateTime.fromString("2025-01-15T09:12:34", Qt.DateFormat.ISODate),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
rl2.temporalProperties().setFixedTemporalRange(
|
rl2.temporalProperties().setFixedTemporalRange(
|
||||||
QgsDateTimeRange(
|
QgsDateTimeRange(
|
||||||
QDateTime.fromString("2025-01-12T00:00:00", Qt.ISODate),
|
QDateTime.fromString("2025-01-12T00:00:00", Qt.DateFormat.ISODate),
|
||||||
QDateTime.fromString("2025-01-12T00:00:00", Qt.ISODate),
|
QDateTime.fromString("2025-01-12T00:00:00", Qt.DateFormat.ISODate),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
rl3.temporalProperties().setFixedTemporalRange(
|
rl3.temporalProperties().setFixedTemporalRange(
|
||||||
QgsDateTimeRange(
|
QgsDateTimeRange(
|
||||||
QDateTime.fromString("2025-01-13T00:00:00", Qt.ISODate),
|
QDateTime.fromString("2025-01-13T00:00:00", Qt.DateFormat.ISODate),
|
||||||
QDateTime.fromString("2025-01-13T00:00:00", Qt.ISODate),
|
QDateTime.fromString("2025-01-13T00:00:00", Qt.DateFormat.ISODate),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user