Jump to content
Changes to the Jaspersoft community edition download ×

7.2 Jasperserver minutes displayed instead of month java.sql.timestamp


mundrameenaxi
Go to solution Solved by mlopez_1,

Recommended Posts

On jasperserver 7.2 when the field of a report is of type jasva.sql.timestamp, its rendering is not correct in UI. 

DB- 2/5/12 05:42 PM

UI - 12-42-05 17:42:24

This was working fine in 6.4. Even w/o specifying date format on field in jasper report. 

Actually minutes are showing in place of months. Report SQL give me correct data, but when same is not seen on jasperserver

 

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

  • 4 months later...

You can search all the config files in jaspersoft for ".mm." case-sensitive.

(Or search for -mm- and /mm/ as well)

There are several places where dd.MM.yy is defined as dd.mm.yy.. For example: datepicker.js or jasperserver_config_de.properties.

(Or dd/MM/yy is dd/mm/yy)

Just exchange the "mm" to "MM", when it is meant to be months and restart Jasperserver. And there you go, you dont have to wait for 7.5 ;)

 

Please ensure NOT to substitue MM in hh:mm:ss or similar. Otherwise you would have Months as minutes...

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...