kashoory Posted October 10, 2014 Share Posted October 10, 2014 I created a report in Jasper Studio 5.6.1 that used a time input control. Published it on JasperReports Server AWS. Created an input control for my report with the type time. I happened to find that when I enter time between 12AM and 12:59:59PM, the return value is okay, while after that it is entered_time-12hours. i.e. it returns 01:25:28 for both 01:25:28 and 13:25:28.Is it known issue? Any workaround? Link to comment Share on other sites More sharing options...
Solution kashoory Posted October 13, 2014 Author Solution Share Posted October 13, 2014 I found the reason. There is an ugly incorrect definition in files: jasperserver-pro/scripts/common/util/parse/date.js jasperserver-pro/scripts/common/util/parse/time.js ISO_8601_TIME_PATTERN is defined as "hh:mm:ss" while it must be "HH:mm:ss"! Just correct it in both files and go through reoptimization procedure if optimazation is enabled (refer to section "Customizing JavaScript Files" in JasperServer Ultimate Guide). Link to comment Share on other sites More sharing options...
djohnson53 Posted October 14, 2014 Share Posted October 14, 2014 I opened a tracker issue in your name for this: http://community.jaspersoft.com/jasperreports-server/issues/3929 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now