It is calendar.$foo not locale.$foo

This commit is contained in:
Giorgos Tsiapaliwkas 2012-02-22 17:57:31 +02:00
parent 86a60e2e2e
commit 2a94eda81a

View File

@ -144,7 +144,8 @@ Item {
console.log("workingWeekStartDay:" + locale.workingWeekEndDay)
console.log("use12Clock:" + locale.use12Clock)
print("prin t static")
print("before static")
//TODO the plasmoid seg faults
/*console.log("the defaultLanguage:" + locale.defaultLanguage)
console.log("the defaultCountry:" + locale.defaultCountry)
@ -166,25 +167,25 @@ Item {
onClicked:{
console.log("=====CalendarSystem Component====")
console.log("calendarLabel:" + locale.CalendarLabel)
console.log("calendarLabel:" + calendar.CalendarLabel)
console.log("epoch:" + locale.epoch)
console.log("epoch:" + calendar.epoch)
console.log("earliestValidDate:" + locale.earliestValidDate)
console.log("earliestValidDate:" + calendar.earliestValidDate)
console.log("latestValidDate:" + locale.latestValidDate)
console.log("latestValidDate:" + calendar.latestValidDate)
console.log("shortYearWindowStartYear:" + locale.shortYearWindowStartYear)
console.log("shortYearWindowStartYear:" + calendar.shortYearWindowStartYear)
console.log("weekStartDay:" + locale.weekStartDay)
console.log("isLunar:" + locale.isLunar)
console.log("isLunar:" + calendar.isLunar)
console.log("isLunisolar:" + locale.isLunisolar)
console.log("isLunisolar:" + calendar.isLunisolar)
console.log("isSolar:" + locale.isSolar)
console.log("isSolar:" + calendar.isSolar)
console.log("isProleptic:" + locale.isProleptic)
console.log("isProleptic:" + calendar.isProleptic)
console.log("===============end===============")
}