Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fixed Legacy date widget default format
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+1
−1
src/core/qgslegacyhelpers.cpp
|
@@ -104,7 +104,7 @@ const QString QgsLegacyHelpers::convertEditType( QgsVectorLayer::EditType editTy |
|
|
{ |
|
|
widgetType = "DateTime"; |
|
|
cfg.insert( "display_format", editTypeElement.attribute( "dateFormat" ) ); |
|
|
cfg.insert( "field_format", "yyyy-mm-dd" ); |
|
|
cfg.insert( "field_format", "yyyy-MM-dd" ); |
|
|
break; |
|
|
} |
|
|
|
|
|