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

Add support for Buddhist Calendar

    XMLWordPrintable

Details

    • All

    Description

      th-TH locale, still shows Gregorian year 2022 though it should show Buddhist calendar. and the The Buddhist year 2565

      import QtQuick 2.15
      import QtQuick.Window 2.15
      import QtQuick.Controls 1.2
      Window {
          width: 640
          height: 480
          visible: true
          property var locale: Qt.locale("th_TH")
              Label {
                  id: date
                  text: {
                      "DATE: \n" +
                        "Locale.ShortFormat:\t" + new Date().toLocaleDateString(locale, Locale.ShortFormat) + "\n"
                  }
                  anchors.top : parent
              }
      }
      

      Attachments

        Issue Links

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

          Activity

            People

              cnn Qt Core & Network
              irfan.omair@digia.com Irfan Omair
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes