title: date appears one day prior to what is programmed in JasperServer
body: <p>I posted this on the JasperServer forums, but I've had better luck on StackOverflow generally. Please help if you can.</p>
  
  <p>My biggest single gripe about <code>JasperServer</code> is that it flat out behaves differently than <code>JasperReport</code> (specifically, reports developed in <code>iReport</code>).</p>
  
  <p>The problem I'm seeing now is that dates are displayed as one day prior (in fact, exactly 4 hours prior) to the date put into the parameter.</p>
  
  <p>This is what I put into the default value expression of the JRXML:</p>
  
  <pre><code> ((new Date().getMonth() / 3) + 1 == 1)? new Date(new Date().getYear(), 0, 1) :
  
  ((new Date().getMonth() / 3) + 1 == 2)? new Date(new Date().getYear(), 3, 1) :
  
  ((new Date().getMonth() / 3) + 1 == 3)? new Date(new Date().getYear(), 6, 1) :
  
  new Date(new Date().getYear(), 9, 1) 
  </code></pre>
  
  <p>This code works to correctly calculate the beginning of the quarter from within the default value expression of <code>JasperReports</code>. When i run this through <code>iReport</code>, i see no problem whatsoever. For any reports I've run in this quarter, i'm seeing July 1, 2010 as the start date.</p>
  
  <p>When I modify the JRXML to account for the "repo:subreport_name" format of <code>JasperServer</code> and run this report and have <code>JasperServer</code> email the output to me I get a different result:</p>
  
  <p>6/30/10 8:00 PM</p>
  
  <p>This seems like a bug to me.</p>