Skip to content

Commit

Permalink
consistent format
Browse files Browse the repository at this point in the history
  • Loading branch information
vcloarec authored and nyalldawson committed Jan 14, 2021
1 parent 26892a7 commit 5fb9e2f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
4 changes: 4 additions & 0 deletions src/gui/mesh/qgsmeshlayerproperties.cpp
Expand Up @@ -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();

Expand Down
9 changes: 0 additions & 9 deletions src/ui/mesh/qgsmeshlayerpropertiesbase.ui
Expand Up @@ -654,9 +654,6 @@ border-radius: 2px;</string>
<property name="toolTip">
<string>Reference time used to render mesh dataset when using temporal range or temporal animation</string>
</property>
<property name="displayFormat">
<string>dd/MM/yyyy HH:mm:ss</string>
</property>
<property name="calendarPopup">
<bool>true</bool>
</property>
Expand Down Expand Up @@ -703,9 +700,6 @@ border-radius: 2px;</string>
<property name="buttonSymbols">
<enum>QAbstractSpinBox::NoButtons</enum>
</property>
<property name="displayFormat">
<string>dd/MM/yyyy HH:mm:ss</string>
</property>
</widget>
</item>
<item row="2" column="0">
Expand Down Expand Up @@ -738,9 +732,6 @@ border-radius: 2px;</string>
<property name="showGroupSeparator" stdset="0">
<bool>false</bool>
</property>
<property name="displayFormat">
<string>dd/MM/yyyy HH:mm:ss</string>
</property>
<property name="timeSpec">
<enum>Qt::UTC</enum>
</property>
Expand Down

0 comments on commit 5fb9e2f

Please sign in to comment.