initial plasma6 support

This commit is contained in:
2024-03-07 12:09:46 +02:00
parent eecb128865
commit 4d01b87088
176 changed files with 2569 additions and 3795 deletions

View File

@ -49,15 +49,15 @@ void TestAWDateTimeFormatter::test_values()
void TestAWDateTimeFormatter::test_conversion()
{
QDateTime now = QDateTime::currentDateTime();
QCOMPARE(formatter->convert(now), now.toString(format));
auto now = QDateTime::currentDateTime();
QCOMPARE(formatter->convert(now), QLocale::system().toString(now, format));
}
void TestAWDateTimeFormatter::test_copy()
{
formatter->setTranslateString(false);
AWDateTimeFormatter *newFormatter = formatter->copy("/dev/null", 1);
auto *newFormatter = formatter->copy("/dev/null", 1);
QCOMPARE(newFormatter->format(), formatter->format());
QCOMPARE(newFormatter->translateString(), formatter->translateString());