I think that it is a bug.I try this code in the playground:    var container0
= new qx.ui.container.Composite(new qx.ui.layout.VBox(3)).set({       
padding : 5,        decorator : null      });    var container1 = new
qx.ui.container.Composite(new qx.ui.layout.HBox(2)).set({        padding :
5,        decorator : null      });    var label1 = new
qx.ui.basic.Label("Date du début de la période:");   
container1.add(label1);    container1.add(new qx.ui.core.Spacer(10, 0));   
var dateField1 = new qx.ui.form.DateField();    container1.add(dateField1);   
dateField1.setValue(new Date());        var container2 = new
qx.ui.container.Composite(new qx.ui.layout.HBox(2)).set({        padding :
5,        decorator : null      });    var label2 = new
qx.ui.basic.Label("Date de la fin de la période:");   
container2.add(label2);    container2.add(new qx.ui.core.Spacer(10, 0));   
var dateField2 = new qx.ui.form.DateField();    container2.add(dateField2);   
dateField2.setValue(new Date());      var btnOK = new
qx.ui.form.Button("OK").set({        paddingLeft: 50,        paddingRight:
50    });    btnOK.addListener("execute", function()    {        var format
= new  qx.util.format.DateFormat("YYYY-MM-dd");        var cible1 =
format.format(dateField1.getValue());        var cible2 =
format.format(dateField2.getValue());        alert(cible1);       
alert(cible2);    }, this);    this.getRoot().add(container0);   
container0.add(container1);    container0.add(container2);   
container0.add(btnOK);And the error appear for end/beginning of year.Anybody
else had that problem.Mario Elward Aedhelweard Technology



--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/date-format-bug-tp6760674p7583527.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to