1 suggestion
Optional improvements
[suggestion] · The first two commits introduce and replace the same date-locale design
The first two commits make reviewers check a temporary helper location and calendar-locale approach that the second commit replaces; squashing them would remove that repeated work without changing the resulting tree.
Location: qml/util.cpp:77 at 5171f50aae94 (commit) (commit).
Details and suggested fix
Commit 5171f50aae94bc023d1609fd4fbddc13cd41674b adds GregorianLocale in qml/util.cpp, routes the C++ callers through qml/util.h, and changes the calendar header to use Qt.locale(Qt.locale().name). Commit 777dd2be2e503505862e5177528560cd999c54a0 then removes that helper, reintroduces it inline in qml/datelocale.h, switches the caller includes, and replaces the QML expression with the DateLocale.gregorian singleton. That makes the second commit partly a re-review of implementation choices introduced immediately before it.
Squash these two commits so the shared helper, C++ callers, calendar singleton, registrations, build entries and tests arrive in their final form together. The separate LC_TIME follow-up can remain afterward. This changes the review sequence, not the final tree.