Hi Matteo,
YYYY should be replaced by yyyy in your code. Example:
var dformat = new qx.util.format.DateFormat("dd-MM-yyyy");
var now = new Date();
this.info(now.toString(), "becomes", dformat.format(now));
HTH
Pierre
On 28 Mar 2012 at 1:44, matteomasina wrote:
> Hi I have a Filetered Table.
>
> Everything work fine, but I have set up :
>
> var renderer = new qx.ui.table.cellrenderer.Date();
> tableOperazioni.getTableColumnModel().setDataCellRenderer(1, renderer);
>
> and the column it's a correct Date field.
>
> I try to format that data in this way :
>
> renderer .setDateFormat(new qx.util.format.DateFormat("dd-MM-YYYY"));
>
> but If I put this command line the system returns to me and error.
>
> How I have to proceed to give to my Date column that format ? Or at least
> "dd/MM/YYYY" this format?
>
> Best regards
>
> Matteo Masina
>
> --
> View this message in context:
> http://qooxdoo.678.n2.nabble.com/table-filtered-and-column-renderer-tp7412806p7412806.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel