Problem with data input control - format date is wrong after make report.

0

Hi,

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

Best regards,

Daniel

Attachments: 
danielobs's picture
Joined: Mar 24 2010 - 1:52pm
Last seen: 2 weeks 2 days ago

5 Answers:

0

Input control will use default Java locale to set date format. Use Pattern property in your report to adjust report view.

oesina's picture
225
Joined: Jun 20 2011 - 10:27am
Last seen: 6 years 4 months ago
0

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.

ajinkya_c's picture
935
Joined: Aug 29 2012 - 6:13am
Last seen: 2 years 8 months ago
0

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.

danielobs's picture
Joined: Mar 24 2010 - 1:52pm
Last seen: 2 weeks 2 days ago
0

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.

cjasper's picture
63
Joined: Jul 24 2012 - 7:20am
Last seen: 1 year 7 months ago
0

Parameter names are matching.

The problem is with the format of the date.

But I do not know why.

danielobs's picture
Joined: Mar 24 2010 - 1:52pm
Last seen: 2 weeks 2 days ago
Feedback
randomness