Issue with Date Format in input control



I have a report that takes date range as input control. But when I enter the date in the input control, its format changes automatically and error message is displayed (screenshot attached).

What's going wrong here?

730.saurabh's picture
Joined: Dec 2 2013 - 4:15am
Last seen: 5 years 10 months ago

1 Answer:


What version of JasperReports Server do you use?

This issue can appear in JRS v4.7

but it should not appear in latest versions. (If i remember correctly >= JRS v5.0)


Also please check jasperserver_config_<YOUR_LOCALE>.properties

it should contains consistent date format for both

date.format, datetime.format, time.format and, calendar.datetime.format, calendar.time.format properties

Properties with calendar.* prefix are used to configure jQuery datepicker calendar plugin which is used in JRS

while properties without such prefix are used in java backend to parse/format strings (see javadoc)

so for example

values date.format and should provide SAME parse/format results for same dates.


P.S. these properties are duplicated because jQuery calendar plugin is a little bit different from java DateFormat pattern


Hope this helps.


sprilukin's picture
Joined: Jul 26 2011 - 7:08am
Last seen: 4 months 2 weeks ago