Problem with data input control - format date is wrong after make report.
Posted on January 6, 2013 at 2:58pm
I have problem with sent data parameter to report.
Parameter is data format: on input control is: 04-03-2012 but on the raport is: 12-01-04 00:03
See the attached picture
Posted on January 6, 2013 at 5:46pm
Input control will use default Java locale to set date format. Use Pattern property in your report to adjust report view.
Posted on January 7, 2013 at 12:43am
If your report is iReport based report then select the date field and go to the properties of the field, go to pattern and set required date pattern.
Posted on January 7, 2013 at 1:04am
In iReport all is ok.
After set pattern the date is wrong when report is generating in Jasperserver. .
In addition, the data generated by the SQL they are wrong. Out of this period we need.
Posted on January 7, 2013 at 4:18am
the input control that you create in jasperserver must match with the parameter you have in your report. Please make sure the respective parameter names are matching.
Posted on January 7, 2013 at 6:13am
Parameter names are matching.
The problem is with the format of the date.
But I do not know why.