Hi,
On Tuesday April 13 2010 08:58:47 ReHa wrote:
> i tried the following test to use getDateFormat() in Qooxdoo 1.0.1, but the
> result is always the same - the locale-Parameter seems to have no effect:
>
> Code:
> qx.locale.Manager.getInstance().setLocale("de");
> this.debug("de: " + qx.locale.Date.getDateFormat("medium", "de"));
> this.debug("en: " + qx.locale.Date.getDateFormat("medium", "en"));
> qx.locale.Manager.getInstance().setLocale("en");
> this.debug("de: " + qx.locale.Date.getDateFormat("medium", "de"));
> this.debug("en: " + qx.locale.Date.getDateFormat("medium", "en"));
>
> Debug-Result:
> de: MMM d, y
> en: MMM d, y
> de: MMM d, y
> en: MMM d, y
>
> What's wrong? Is this a bug?
> Thanks for any help.
Did you already tried the localization demo? In the 1.0.1 version everything
seems okay.
http://demo.qooxdoo.org/1.0.1/demobrowser/index.html#showcase~Localization.html
The demo shows the same use case as yours. Maybe this helps you in solving
your issue.
cheers,
Alex
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel