I think the issue is in the en.xml file in the locale folder. The short date
setting is:

<dateFormatLength type="short">
                       <dateFormat>
                           <pattern>M/d/yy</pattern>
                       </dateFormat>
</dateFormatLength>

and I believe it should be:

<dateFormatLength type="short">
                       <dateFormat>
                           <pattern>d/M/yy</pattern>
                       </dateFormat>
</dateFormatLength>

I have not made this change locally and then re-build my system to test it
but I think this is where the problem is. You might want to make the change
and give it a test to see if it clears up the problem.

Jim



On Tue, 13 Mar 2007 16:31 +0000 (GMT Standard Time), Hugh Gibson <
[EMAIL PROTECTED]> wrote:

I'm not really up on the localisation stuff. However, I'm putting some
date stuff into our application, and the default format for the date using a
date-picker is coming up as M/d/YY.

This is not how we do things here (UK) - it is d/M/YY (and Australia and
probably other places as well).

I've set the locale to "en" at startup:

   qx.locale.Manager.getInstance().setLocale("en");

thinking that I would get English settings, not en_US. However, the wrong
format string is in en.js:

  cldr_date_format_short: "M/d/yy",

What is needed here - a simple correction of the short format string?
Where is en_US.js found - is that dynamically downloaded from the web if
needed?

You can see this at http://demo.qooxdoo.org/current/showcase/ on the
Localization tab. In fact, the short date format isn't shown in the list on
the right.

Hugh

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to