If I replace
Date.prototype.formatDate = function () {
// TRANSLATORS: this is a date formatting string,
// see http://qt-project.org/doc/qt-5.0/qtqml/qml-qtquick2-date.html#details for valid expressions
var format = qsTr("dd MMMM yyyy");
return Qt.formatDate(this, format);
}
If I replace formatDate = function () { qt-project. org/doc/ qt-5.0/ qtqml/qml- qtquick2- date.html# details for valid expressions
Date.prototype.
// TRANSLATORS: this is a date formatting string,
// see http://
var format = qsTr("dd MMMM yyyy");
return Qt.formatDate(this, format);
}
by
Date.prototype. formatDate = function () { toLocaleTimeStr ing(Qt. locale( ), "dd MMMM yyyy");
this.
return this;
}
I only have raw date printed.
It may be that Qt.locale() without argument is not finding any default.