Jump to content
We've recently updated our Privacy Statement, available here ×

730.saurabh

Recommended Posts

  • 1 month later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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.date.format, 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 calendar.date.format 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.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...