adam_7 Posted September 21, 2015 Posted September 21, 2015 Hello All,I hvae some reports that contain input controls for the date (mostly sales reports). Everything works smoothly with the reports, but some of the people have made complaints that the date picker calendar displays Monday as the first day of the week, when they are more familiar with Sunday as the start day of the week.Anyt thoughts on where I can change this? Thanks
Solution asimkin Posted September 22, 2015 Solution Posted September 22, 2015 Hi,for relative dates, you can change week start day in WEB-INFclassesrelativedate.properties file.For other cases, week start day is hard-coded in scripts located in bower_componentsjquery-uiuii18n for each locale:firstDay: 1If you modify the scripts, you have to re-optimize them or configure JasperReports Server to use non-optimized scripts:http://community.jaspersoft.com/documentation/jasperreports-server-ultimate-guide/v561/customizing-javascript-filesHope, this helps
adam_7 Posted September 22, 2015 Author Posted September 22, 2015 Asimkin Thanks for your response, I have already tried changing the relativedate.properites file with no luck.I found the datepicker file in my optimized scripts folder and changed it manually. SInce that file is already in the optimized folder, is there any need to reoptomize it? Making the changed and restarting the Tomcat server seemed to change it how i wanted.
asimkin Posted September 23, 2015 Posted September 23, 2015 Hi,as you modified optimized scripts, there is no need to re-optimize it again.
mundrameenaxi Posted January 25, 2018 Posted January 25, 2018 I did the same thing as Adam, but its not working for me. Any suggestions?
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