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

Formatting with Qt::DefaultLocaleLongDate in Europe/London shows BST as timezone when it should show GMT

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 5.0.2
    • Fix Version/s: 5.2.0
    • Component/s: Core: Date/Time
    • Labels:
      None
    • Environment:
      Ubuntu Trusty; qt 5.0.2

      Description

      QDateTime converted to a QString using Qt::DefaultLocaleLongDate shows BST as the timezone even when the effective TZ is GMT. See:

      laney@raleigh> TZ=Europe/London date
      Fri Nov 29 15:24:46 GMT 2013
      laney@raleigh> TZ=Europe/London ./a.out
      Friday, 29 November 2013 15:24:47 BST

      Minimal reproducer is attached.

        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:
            laney Iain Lane
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes