i try this to change the languagecode to "de"
i get
(qx.locale.Manager.getInstance().getLocale()
de
but all others return the wrong formats:( What is wrong?
Here the full code
qx.locale.Manager.getInstance().setLocale("de");
alert(qx.locale.Manager.getInstance().getLocale());
alert(qx.locale.Manager.getInstance().getTerritory());
alert(qx.locale.Date.getDateFormat("short"));
alert((new
qx.util.format.DateFormat(qx.locale.Date.getDateFormat("short"))).format(new
Date()));
alert(qx.locale.Date.getDateFormat("medium"));
alert((new
qx.util.format.DateFormat(qx.locale.Date.getDateFormat("medium"))).format(new
Date()));
alert(qx.locale.Date.getDateFormat("long"));
alert((new
qx.util.format.DateFormat(qx.locale.Date.getDateFormat("long"))).format(new
Date()));
alert(qx.locale.Date.getDateFormat("full"));
alert((new
qx.util.format.DateFormat(qx.locale.Date.getDateFormat("full"))).format(new
Date()));
alert(qx.locale.Date.getTimeFormat("short"));
alert((new
qx.util.format.DateFormat(qx.locale.Date.getTimeFormat("short"))).format(new
Date()));
alert(qx.locale.Date.getTimeFormat("long"));
alert((new
qx.util.format.DateFormat(qx.locale.Date.getTimeFormat("long"))).format(new
Date()));
alert(qx.locale.Date.getDayName("wide", qx.locale.Date.getWeekStart()));
alert(qx.util.format.NumberFormat.getInstance().format(10000.12));
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel