Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
QStringLiteral
(cherry picked from commit 5403554)
  • Loading branch information
nyalldawson committed Feb 19, 2021
1 parent 99e45b4 commit ac8f336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/wms/qgswmscapabilities.cpp
Expand Up @@ -445,7 +445,7 @@ QDateTime QgsWmsSettings::parseWmstDateTimes( const QString &item )

// Check if it does not have time part
if ( !item.contains( 'T' ) )
return QDateTime::fromString( item, "yyyy-MM-dd" );
return QDateTime::fromString( item, QStringLiteral( "yyyy-MM-dd" ) );
else if ( item.contains( '.' ) )
return QDateTime::fromString( item, Qt::ISODateWithMs );
else
Expand Down

0 comments on commit ac8f336

Please sign in to comment.