diff --git a/declarativeimports/locale/tests/contents/code/klocaleqmltest.qml b/declarativeimports/locale/tests/contents/code/klocaleqmltest.qml index d7e2e94d6..1e4759a8d 100644 --- a/declarativeimports/locale/tests/contents/code/klocaleqmltest.qml +++ b/declarativeimports/locale/tests/contents/code/klocaleqmltest.qml @@ -66,6 +66,8 @@ Item { //locale.currencySymbol = TODO //console.log("currencySymbol" + locale.currencySymbol) + //locale.dateTimeDigitSet = DigitSet.EasternArabicIndicDigits + locale.dateFormat = "Y" console.log("dateFormat:" + locale.dateFormat) @@ -75,6 +77,9 @@ Item { locale.dateMonthNamePossessive = false console.log("dateMonthNamePossessive:" + locale.dateMonthNamePossessive) + locale.decimalPlaces = 2 + console.log("decimalPlaces:" + locale.decimalPlaces) + console.log("===========end===========") } } @@ -133,6 +138,16 @@ Item { console.log("the dateMonthNamePossessive property has been changed") } + dateTimeDigitSet: Digit.ArabicDigits + onDateTimeDigitSet: { + console.log("the dateTimeDigitSet property has been changed") + } + + decimalPlaces: 1 + onDecimalPlacesChanged: { + console.log("the decimalPlaces property has been changed") + } + } CalendarSystem {