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

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.2.0
    • 5.0.2
    • Core: Date/Time
    • None
    • 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

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