Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-25057

Unwanted behavior when using QLocale's date/time formats on Mac OS X Lion

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 4.8.0, 4.8.4, 5.1.1
    • Fix Version/s: 4.8.6, 5.2.0 RC1
    • Component/s: Core: Locales (L10n)
    • Labels:
      None
    • Environment:
      Mac OS X Lion (10.7.3)
      Mac OS X (10.8)
    • Platform/s:
      macOS

      Description

      The default date format (long format) on Mac OS X Lion is "dd. MMMM y"
      and the time format (long format) is "HH:mm:ss t".

      Qt can't handle both formats, the results are as followed:
      Date:
      "dd. MMMM y" => "31. March y"
      "HH:mm:ss t" => "16:08:23 t"

      Qt only handles date/time formats described in the Qt documentation.

      In addition, if I change the date/time formats in the control panel under Windows 7, the formats are updated in the views.
      On Mac OS X Lion the date/time formats are only updated if I restart the application.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              johnlayt John Layt
              Reporter:
              roman80 Roman W├╝ger
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes