title: jarsigner error: java.time.DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0
body: <p>I get this error when signing an Ionic android apk, I'm on Kubuntu 17.04, using Ionic 3, java 8 installed</p>
  
  <p>The error I get:</p>
  
  <pre><code>Enter Passphrase for keystore: 
  updating: META-INF/MANIFEST.MF
  adding: META-INF/TEST2.SF
  adding: META-INF/TEST2.RSA
  signing: AndroidManifest.xml
  jarsigner error: java.time.DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0
  </code></pre>
  
  <p>java version</p>
  
  <pre><code>$ java -version
  openjdk version "1.8.0_131"
  OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-2ubuntu1.17.04.3-b11)
  OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)
  </code></pre>
  
  <p>javac</p>
  
  <pre><code>$ javac -version
  javac 1.8.0_131
  </code></pre>
  
  <p>I have Android Studio installed and it's working fine, I tested the app source code and it ran on the emulator no problems.</p>