On 10/14/2010 11:58 AM, Stefan Andersson wrote:
> By using the generic format built-in to javascript Date the result is
> ugly in some locales.... The generic format was built mainly for the
> English speaking countries.
> 
> For example:
> English: 1. June
> Swedish: 1:a juni, (not 01. jun, though June can be abbreviated jun,
> then at least 1 jun)

Have you tried qx.util.format.DatFormat (e.g. like 'new
qx.util.format.DateFormat(qx.locale.Date.getDateFormat("sh
ort"))).format(new Date()')?!

This uses unicode.org's CLDR data in the back, which supports Swedish's
'juni' month name, and also some formats involving "d:" (although the
extension is 'e', not 'a'!?).

T.

> 
> We will propose a patch to the current format, which we will add, but
> before that we ask people at this forum if there is some other wishes in
> this context.
> 
> Stefan
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> 
> 
> 
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to