Edward Welbourne e78b7e7010 Tidy up macToQtFormat() in Darwin system locale backend
Impose standard Qt indent.
Within each set of cases grouped together, impose alphabetic order.
Made formatting of ranges in comments terser, for two-value ranges.
Fix errors:
* the 'j' field should not arise and has a 'J' partner
* The 'c', 'e' and 'E' forms' numeric variants are still day of the
  week, so should not be mapped to 'd' or 'dd', which are day of the
  month. Qt date formats only actually support long and short, not
  narrow, despite the QLocale::Format having a NarrowFormat.

Other errors and infelicities shall be addressed in later work, in
tandem with changes to dateconverter.py that are coming.

Task-number: QTBUG-123872
Change-Id: I61bf363d2598502f8bfc0d67245eae1b41858147
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit e04f7d0d2779a7ee47f7cea2d3b6f6f93fd286c8)
2024-05-15 16:23:03 +02:00
..