I found the error. From docs here: https://doc.qt.io/qt-6/qdatetime.html#toString it is reported
Note: Day and month names as well as AM/PM indication are given in English (C locale). If localized month and day names and localized forms of AM/PM are used, use QLocale::system().toDateTime().Correct way to use system locale or a desired locale is
qInfo().nospace() << QLocale::system().toString(QDateTime::currentDateTime(), "dd MMMM yyyy hh:mm:ss.zzz");