title: Joda dateTime parser is adding milliseconds unnecessarily
body: <p>I have the time in milliseconds which I need to convert to <code>2009-01-31T06:34:45Z</code> using Joda library. I have written the below program but the date parser is adding milliseconds by default.</p>
  
  <pre><code>DateTimeFormatter fmt = DateTimeFormat.forPattern("yyyy-MM-dd'T'HH:mm:ss'Z'");
  DateTime dateTime = new DateTime(System.currentTimeMillis());
  String str = fmt.print(dateTime);
  System.out.println("Date as string - " + str);
  
  dateTime = fmt.parseDateTime(str);
  System.out.println("Date as Joda dataTime - " + dateTime);
  </code></pre>
  
  <p>Following is the output:</p>
  
  <pre><code>Date as string - 2007-03-24T23:03:44Z
  Date as Joda dataTime - 2007-03-24T23:03:44.000+05:30
  </code></pre>
  
  <p><code>.000+05:30</code> is getting added to the <code>dateTime</code> object. The <code>print</code> method print the dateTime in correct format, but the <code>parse</code> method adds milliseconds and timezone unnecessarily. Please let me know the mistake in the program.</p>