diff --git a/src/gui/mesh/qgsmeshlayerproperties.cpp b/src/gui/mesh/qgsmeshlayerproperties.cpp index d002dfe4bcb1..e6aa04bb1f27 100644 --- a/src/gui/mesh/qgsmeshlayerproperties.cpp +++ b/src/gui/mesh/qgsmeshlayerproperties.cpp @@ -107,6 +107,10 @@ QgsMeshLayerProperties::QgsMeshLayerProperties( QgsMapLayer *lyr, QgsMapCanvas * metadataFrame->setLayout( layout ); mOptsPage_Metadata->setContentsMargins( 0, 0, 0, 0 ); + mTemporalDateTimeStart->setDisplayFormat( "yyyy-MM-dd HH:mm:ss" ); + mTemporalDateTimeEnd->setDisplayFormat( "yyyy-MM-dd HH:mm:ss" ); + mTemporalDateTimeReference->setDisplayFormat( "yyyy-MM-dd HH:mm:ss" ); + // update based on lyr's current state syncToLayer(); diff --git a/src/ui/mesh/qgsmeshlayerpropertiesbase.ui b/src/ui/mesh/qgsmeshlayerpropertiesbase.ui index a08415da76b0..5d88f6087195 100644 --- a/src/ui/mesh/qgsmeshlayerpropertiesbase.ui +++ b/src/ui/mesh/qgsmeshlayerpropertiesbase.ui @@ -654,9 +654,6 @@ border-radius: 2px; Reference time used to render mesh dataset when using temporal range or temporal animation - - dd/MM/yyyy HH:mm:ss - true @@ -703,9 +700,6 @@ border-radius: 2px; QAbstractSpinBox::NoButtons - - dd/MM/yyyy HH:mm:ss - @@ -738,9 +732,6 @@ border-radius: 2px; false - - dd/MM/yyyy HH:mm:ss - Qt::UTC