toddbrook Posted November 7, 2014 Share Posted November 7, 2014 This is not a question but an answer to one which a number of people have asked: namely how to localise reports in Jasper Server with respect to time zoneI have written a wiki page about it. I can't seem to link directly to it here, but if you go to the wiki, click How-To in the common searches and then search for time zone localization you should find it Hope it is useful Link to comment Share on other sites More sharing options...
djohnson53 Posted November 7, 2014 Share Posted November 7, 2014 Thanks for posting this. The Wiki Article is at: http://community.jaspersoft.com/wiki/localizing-reports-jasper-server-respect-time-zones Link to comment Share on other sites More sharing options...
darkolakovic Posted October 14, 2016 Share Posted October 14, 2016 Just a small note that can help other people reading the article posted above. Under the section 3. Setting the user’s time zone it is written following by the author: "The value provided here gets set as the REPORT_TIME_ZONE parameter. It might be possible to set the user’s time zone when logging in via some SSO mechanism but I have not investigated this."If you are making the build yourself from the source code, you can override it from file jasperreports.properties located under: jasperserverjasperserver-warsrcmainwebappAdditionsWEB-INFclasses.Just uncomment last line property net.sf.jasperreports.jdbc.time.zone and set your time zone instead of REPORT_TIME_ZONE value (use quotes to ensure unescaping): # use the report/user time zone to fetch values from databases#net.sf.jasperreports.jdbc.time.zone=REPORT_TIME_ZONE Example:net.sf.jasperreports.jdbc.time.zone='Europe/Belgrade' 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