title: Comma fails parsing by java.time.Instant
body: <p>This fails:</p>
  
  <pre><code>Instant.parse( "2007-12-03T10:15:30,978Z" )  // Fails with comma
  </code></pre>
  
  <p>while this succeeds:</p>
  
  <pre><code>Instant.parse( "2007-12-03T10:15:30.978Z" )  // Succeeds with dot
  </code></pre>
  
  <p>The <a href="http://docs.oracle.com/javase/8/docs/api/java/time/package-summary.html" rel="nofollow">java.time</a> classes use standard <a href="https://en.wikipedia.org/wiki/ISO_8601" rel="nofollow">ISO 8601</a> formats by default when parsing or generating String representations of date-time values.</p>
  
  <p>The ISO 8601 standard allows either a <a href="https://en.wikipedia.org/wiki/Comma" rel="nofollow">COMMA</a> or a <a href="https://en.wikipedia.org/wiki/Full_stop" rel="nofollow">FULL STOP</a> (dot, period) as the <a href="https://en.wikipedia.org/wiki/Decimal_mark" rel="nofollow">decimal mark</a> for a fraction-of-second. The <a href="https://en.wikipedia.org/wiki/ISO_8601#cite_note-17" rel="nofollow">comma is preferred</a>. </p>
  
  <p>But when I try to <a href="https://docs.oracle.com/javase/8/docs/api/java/time/Instant.html#parse-java.lang.CharSequence-" rel="nofollow">parse</a> an <a href="https://docs.oracle.com/javase/8/docs/api/java/time/Instant.html" rel="nofollow"><code>Instant</code></a> from an input string containing a comma, a <a href="https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeParseException.html" rel="nofollow"><code>DateTimeParseException</code></a> is thrown. A similar string with a dot instead succeeds.</p>
  
  <p>What is wrong? How do I parse such standard strings containing a comma?</p>