siladitya.dash Posted July 19, 2018 Share Posted July 19, 2018 Currently we are evaluating Jasper Server 7.1. We have a reporting solution on SpagoBI with having around 500 different types of jrxml format and we want to move all of those to jasper server with less modification. The date formats which we used in Spago is MM-DD-YYYY. But it looks Jasper Server is accepting only YYYY-MM-DD date formats.Is there any way we can make it to MM-DD-YYYY instead of YYYY-MM-DD.We tried modifying the configuration file Jaspersoftjasperreports-server-cp-7.1.0apache-tomcatwebappsjasperserverWEB-INFbundlesjasperserver_config.properties with below but no luck. # Used for parsing and formatting dates by serverdate.format=MM/dd/yyyydatetime.format=MM/dd/yyyy HH:mm:sstime.format=HH:mm:sscalendar.date.format=mm/dd/yycalendar.datetime.format=mm/dd/yy HH:mm:sscalendar.time.format=HH:mm:ssrepository.date.format=M/d/yyyyrepository.current.year.date.format=MMMMM drepository.datetime.format=M/d/yyyy hh:mmaaarepository.time.format=hh:mmaaa Link to comment Share on other sites More sharing options...
oliveira.vitor3 Posted February 7, 2019 Share Posted February 7, 2019 Hi,In my case I changed the locale properties fileLike:Jaspersoftjasperreports-server-cp-7.1.0apache-tomcatwebappsjasperserverWEB-INFbundlesjasperserver_config_pt_BR.properties (As I am in Brazil) I changed the same settings you showed. 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