yhhs09 Posted January 10, 2014 Share Posted January 10, 2014 HiI need someone to help me concerning the Widget pro- Gantt chart. I'm currently using the Jaspersoft Ireport 5.2, and I want to change the date format in the Gantt chart, for example from us date format '5/25/2013' to either '25 May 2013' or 25/05/2013. My original data is $F{startDate} in format " Sun May 25 00:00:00 WST 2013" for example. I tried using the "new SimpleDateFormat("dd MMM yyyy").format($F{startDate}) under Task - start expression as well as the end expression, but does not work. I also tried the dateformat property in Gantt Configuration - show advanced options - add - dateformat. I tried using the dte format "dd/mns/yyyy" which should give me "25/May/2013" but instead give a different date as "05/Dec/2013". So i figured out that it reading month as day and vice versa. So is there a way to change that???Can anyone help me ASAP Please! Link to comment Share on other sites More sharing options...
Solution yhhs09 Posted January 15, 2014 Author Solution Share Posted January 15, 2014 Nevermind, I fixed it through outputDateFormat 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