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

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 4.8.6, 5.2.0 RC1
    • 4.8.0, 4.8.4, 5.1.1
    • Core: Locales (i18n)
    • None
    • Mac OS X Lion (10.7.3)
      Mac OS X (10.8)
    • 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

            johnlayt John Layt
            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