Skip to content
Permalink
Browse files

QStringLiteral

(cherry picked from commit 5403554)
  • Loading branch information
nyalldawson committed Feb 19, 2021
1 parent 99e45b4 commit ac8f336f6aa6d331d8130da2c39b0691deb5ff5f
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/wms/qgswmscapabilities.cpp
@@ -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

0 comments on commit ac8f336

Please sign in to comment.