Works perfectly fine for me. I've pasted your code directly into the
Playground. Please come up with a Playground example that reproduces
your problem (at least demonstrates code that fails for you). In that
replace calls to 'alert' with calls to 'this.info', so the output goes
to the log window.

What is exactly the call that is wrong in your tests, which output do
you expect (give a sample), and which output do you get (again give sample)?

T.

On 12/14/2010 01:20 PM, [email protected] wrote:
>  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

------------------------------------------------------------------------------
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

Reply via email to