title: Jarsigner error: Invalid value for MonthOfYear
body: <p>When trying to sign an unsigned release apk, I'm using the following command in terminal:</p>
  
  <pre><code>jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore My_Key_Sign.keystore app-myapp-release-unsigned.apk 'my app name'
  </code></pre>
  
  <p>We've done this with every release and it has always worked.  Starting yesterday, we started seeing terminal return this error:</p>
  
  <pre><code>Enter Passphrase for keystore: 
   updating: META-INF/MANIFEST.MF
     adding: META-INF/MY_APP.SF
     adding: META-INF/MY_APP.RSA
    signing: META-INF/services/com.google.protobuf.GeneratedExtensionRegistryLoader
  jarsigner error: java.time.DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0
  </code></pre>
  
  <p>Any idea as to why this would start happening?</p>
  
  <p>EDIT: this <strong>might be</strong> a duplicate of <a href="https://stackoverflow.com/q/46508081/1409132">this question</a> but it didn't have any answers</p>