In Jaspersoft 7.8, set the first day in the calendar picker

book

Article ID: 225356

calendar_today

Updated On:

Products

Clarity PPM On Premise

Issue/Introduction

In Jaspersoft 7.1, we used to configure the webapps/reportservice/scripts/bower_components/jquery-ui/ui/i18n/jquery.ui.datepicker-en.js file to set the firstDay value to be 0 instead of 1.  In Jaspersoft 7.8, where is the replacement for jquery.ui.datepicker-en.js file, i.e., the equivalent for this file so that we can change the firstDay value in the calendar picker?

Environment

Release : 15.9.1

Component : CLARITY JASPERSOFT

Resolution

As per Tibco this can be found in the scripts or optimized-scripts as follows.  You should be able to find firstDay in these files: For example, \apache-tomcat\webapps\jasperserver-pro\optimized-scripts\runtime_dependencies\jquery-ui\ui\i18n\*.js.

Important! Please note: If you change a script you have to optimize it if you want to run Jasperserver with optimized scripts. This is a customization and customer has complete responsibility to change and test and migrate the code manually.

Additional Information

For configuring the firstDay value in Jaspersoft 7.5 please check Japsersoft Communities links here:
https://community.jaspersoft.com/wiki/how-change-date-picker-jasperreports-server-720
https://community.jaspersoft.com/wiki/how-change-date-picker-jasperreports-server-750