peterlbrown Posted September 28, 2011 Share Posted September 28, 2011 Hi, I have a report created in iReport, it has a timestand field that I have specified a pattern for (eg EEEEE dd MMMMM yyyy to display the timestanp in the format Wednesday 28 September 2011). It works fine in iReport as a preview. Formats it correctly but when I run the exact same report from JasperServer it doesnot format it at all (eg, it prints 2010-01-06 09:00:00.0).Is there some config I've missed? Please help!Post Edited by peterlbrown at 09/28/2011 08:44Post Edited by peterlbrown at 09/28/2011 08:46 Link to comment Share on other sites More sharing options...
kcd Posted October 3, 2011 Share Posted October 3, 2011 Not sure about your problem but perhaps you can work around it using something like Code:new SimpleDateFormat("EEEEE dd MMMMM yyyy").format($F{CDate}) Link to comment Share on other sites More sharing options...
lhemz Posted October 3, 2011 Share Posted October 3, 2011 Ensure that the Expression Class of the variable/fields matches with the text field. 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